netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: pabeni@redhat.com
Cc: netdev@vger.kernel.org, ecree@solarflare.com, edumazet@google.com
Subject: Re: [PATCH net v2] net: fix indirect calls helpers for ptype list hooks.
Date: Tue, 04 Jun 2019 20:16:49 -0700 (PDT)	[thread overview]
Message-ID: <20190604.201649.1043642315375439258.davem@davemloft.net> (raw)
In-Reply-To: <678856f4fc73bbcd0de07a97c9d59996b6b8b585.1559641396.git.pabeni@redhat.com>

From: Paolo Abeni <pabeni@redhat.com>
Date: Tue,  4 Jun 2019 11:44:06 +0200

> As Eric noted, the current wrapper for ptype func hook inside
> __netif_receive_skb_list_ptype() has no chance of avoiding the indirect
> call: we enter such code path only for protocols other than ipv4 and
> ipv6.
> 
> Instead we can wrap the list_func invocation.
> 
> v1 -> v2:
>  - use the correct fix tag
> 
> Fixes: f5737cbadb7d ("net: use indirect calls helpers for ptype hook")
> Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
> Acked-by: Edward Cree <ecree@solarflare.com>

Applied.

      parent reply	other threads:[~2019-06-05  3:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-04  9:44 [PATCH net v2] net: fix indirect calls helpers for ptype list hooks Paolo Abeni
2019-06-04 13:37 ` Eric Dumazet
2019-06-05  3:16 ` David Miller [this message]

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=20190604.201649.1043642315375439258.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ecree@solarflare.com \
    --cc=edumazet@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).