net: use indirect calls helpers for L3 handler hooks
authorPaolo Abeni <pabeni@redhat.com>
Fri, 3 May 2019 15:01:37 +0000 (17:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 17:38:04 +0000 (10:38 -0700)
commit0e219ae48c3bbf382ef96adf3825457315728c03
treecaab033dc6fe9c00528d6fc341d53b0b9ce368e5
parentf5737cbadb7d07c4f71fc5f073ccc7d8d8985a8f
net: use indirect calls helpers for L3 handler hooks

So that we avoid another indirect call per RX packet in the common
case.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_input.c
net/ipv6/ip6_input.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c