diff options
author | Paolo Abeni | 2019-06-04 11:44:06 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-05 05:16:22 +0200 |
commit | fdf71426e7c548d6e4f5e51e0238732d60e05f5f (patch) | |
tree | 6b4f0a04b4564691e5796e595c5766ba18229778 /drivers/s390/net/qeth_l3_main.c | |
parent | net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set (diff) | |
download | kernel-qcow2-linux-fdf71426e7c548d6e4f5e51e0238732d60e05f5f.tar.gz kernel-qcow2-linux-fdf71426e7c548d6e4f5e51e0238732d60e05f5f.tar.xz kernel-qcow2-linux-fdf71426e7c548d6e4f5e51e0238732d60e05f5f.zip |
net: fix indirect calls helpers for ptype list hooks.
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>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3_main.c')
0 files changed, 0 insertions, 0 deletions