All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Florian Westphal <fw@strlen.de>,
	netdev@vger.kernel.org, steffen.klassert@secunet.com,
	paulb@mellanox.com, vladbu@mellanox.com
Subject: Re: [PATCH net] sk_buff: drop all skb extensions on free and skb scrubbing
Date: Thu, 26 Sep 2019 20:06:09 +0200	[thread overview]
Message-ID: <20190926180609.GB9938@breakpoint.cc> (raw)
In-Reply-To: <76c10ba7-5fc8-e9e8-769f-fc4d5cada7a2@gmail.com>

Eric Dumazet <eric.dumazet@gmail.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?

  reply	other threads:[~2019-09-26 18:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-26 14:18 [PATCH net] sk_buff: drop all skb extensions on free and skb scrubbing Florian Westphal
2019-09-26 17:24 ` Eric Dumazet
2019-09-26 18:06   ` Florian Westphal [this message]
2019-09-26 18:15     ` Eric Dumazet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190926180609.GB9938@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=paulb@mellanox.com \
    --cc=steffen.klassert@secunet.com \
    --cc=vladbu@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.