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: <20190926180609.GB9938@breakpoint.cc>
Date:   Thu, 26 Sep 2019 20:06:09 +0200
From:   Florian Westphal <fw@...len.de>
To:     Eric Dumazet <eric.dumazet@...il.com>
Cc:     Florian Westphal <fw@...len.de>, netdev@...r.kernel.org,
        steffen.klassert@...unet.com, paulb@...lanox.com,
        vladbu@...lanox.com
Subject: Re: [PATCH net] sk_buff: drop all skb extensions on free and skb
 scrubbing

Eric Dumazet <eric.dumazet@...il.com> wrote:
> > +static inline void skb_ext_reset(struct sk_buff *skb)
> > +{
> > +	if (skb->active_extensions) {
> 
> This deserves an unlikely(skb->active_extensions) hint here ?

unlikely() isn't used in the other helpers (e.g. skb_ext_{put,del,copy}
either, should I add it there too?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ