lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44b25d2b-ab46-98f3-8335-5e9cdb79ba65@cogentembedded.com>
Date:   Fri, 24 Mar 2017 14:59:23 +0300
From:   Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To:     Harald Welte <laforge@...monks.org>,
        Jonas Bonn <jonas@...thpole.se>
Cc:     pablo@...filter.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v3 0/2] GTP SGSN-side tunnels

On 03/24/2017 01:15 PM, Harald Welte wrote:

> looks fine to me, but I haven't tested it.  Did you manually test it
> using the extended libgtpnl + tools?
>
> Also, in code like this:
>
> +       if (gtp->role == GTP_ROLE_SGSN) {
> +               pctx = ipv4_pdp_find(gtp, iph->saddr);
> +       } else {
>
> I think general Linux kernel coding style is to not have curly-brackets
> around single-line blocks. See "Do not unnecessarily use braces where a
> single statement will do." in line 169 of
> Documentation/process/coding-style.rst

    See line 191 in the same file for the exception. :-)

[...]

MBR, Sergei

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ