From: Paolo Abeni <pab...@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.duma...@gmail.com> > Signed-off-by: Paolo Abeni <pab...@redhat.com> > Acked-by: Edward Cree <ec...@solarflare.com> Applied.