On Tue, Jun 4, 2019 at 2:45 AM Paolo Abeni <[email protected]> wrote: > > 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 <[email protected]> > Signed-off-by: Paolo Abeni <[email protected]> > Acked-by: Edward Cree <[email protected]> > ---
Reviewed-by: Eric Dumazet <[email protected]>
