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  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]
Date:   Thu, 14 Mar 2019 05:42:02 -0700
From:   Eric Dumazet <>
To:     Sergey Senozhatsky <>
Cc:     netdev <>,
        LKML <>,
        Sergey Senozhatsky <>
Subject: Re: [PATCH] tcp: don't use __constant_cpu_to_be32

On Wed, Mar 13, 2019 at 11:15 PM Sergey Senozhatsky
<> wrote:
> A trivial patch.

Not so trivial...

> cpu_to_be32() is capable enough to detect __builtin_constant_p()
> and to use an appropriate compile time ___constant_swahb32()
> function.
> So we can use cpu_to_be32() instead of __constant_cpu_to_be32().

I dunno, this is uapi, this might break user space for some funky compiler ?

I do not even know if cpu_to_be32() _is_ uapi.

Powered by blists - more mailing lists