ipv4: use indirect call wrappers for {tcp, udp}_{recv, send}msg()
authorPaolo Abeni <pabeni@redhat.com>
Wed, 3 Jul 2019 14:06:56 +0000 (16:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jul 2019 20:51:54 +0000 (13:51 -0700)
commit6f24080e8a1e5572045067507c7905cbe6bc64cc
tree6e69af0ce25e7e72a67b17d98fc57015c93fa127
parent164c51fe82de2265bd6b2aac3aaa45cc92fa28f4
ipv4: use indirect call wrappers for {tcp, udp}_{recv, send}msg()

This avoids an indirect call per syscall for common ipv4 transports

v1 -> v2:
 - avoid unneeded reclaration for udp_sendmsg, as suggested by Willem

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c