]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d9b0589f5a7f0cd7c2d4229530b313d1d8a9bc0
treecaab033dc6fe9c00528d6fc341d53b0b9ce368e5
parent69138b46e8e81dc67e3346e27c64214ec42b8b35
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