On 03/06/2019 11:46, Paolo Abeni 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.
>
> Fixes: 92884ca8830b ("net: fix indirect calls helpers for ptype list hooks.")
> Suggested-by: Eric Dumazet <[email protected]>
> Signed-off-by: Paolo Abeni <[email protected]>
Acked-by: Edward Cree <[email protected]>

Reply via email to