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, 02 Nov 2017 23:20:34 +0100
From:   Daniel Borkmann <>
To:     Colin King <>,
        Alexei Starovoitov <>,
        Jamal Hadi Salim <>,
        Cong Wang <>,
        Jiri Pirko <>,
        "David S . Miller" <>,
Subject: Re: [PATCH][net-next] net: sched: cls_bpf: use bitwise & rather than
 logical && on gen_flags

On 11/02/2017 09:04 PM, Colin King wrote:
> From: Colin Ian King <>
> Currently gen_flags is being operated on by a logical && operator rather
> than a bitwise & operator. This looks incorrect as these should be bit
> flag operations. Fix this.
> Detected by CoverityScan, CID#1460305 ("Logical vs. bitwise operator")
> Fixes: 3f7889c4c79b ("net: sched: cls_bpf: call block callbacks for offload)
> Signed-off-by: Colin Ian King <>

Acked-by: Daniel Borkmann <>

Powered by blists - more mailing lists