net: use indirect calls helpers at early demux stage
So that we avoid another indirect call per RX packet, if early demux is enabled. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0e219ae48c
commit
97ff7ffb11
@@ -1655,7 +1655,7 @@ do_time_wait:
|
||||
goto discard_it;
|
||||
}
|
||||
|
||||
static void tcp_v6_early_demux(struct sk_buff *skb)
|
||||
INDIRECT_CALLABLE_SCOPE void tcp_v6_early_demux(struct sk_buff *skb)
|
||||
{
|
||||
const struct ipv6hdr *hdr;
|
||||
const struct tcphdr *th;
|
||||
|
Reference in New Issue
Block a user