[<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