net: adjust socket level ICW to cope with ipv6 variant of {recv, send}msg
authorPaolo Abeni <pabeni@redhat.com>
Wed, 3 Jul 2019 14:06:54 +0000 (16:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jul 2019 20:51:54 +0000 (13:51 -0700)
commita648a592dc7c20873eb0aee78fa93e869714f42a
treecade81431264ff1e6c9299671d6711fb35830d6b
parent68ab5d1496a35f3a76b68fed57719bfc46a51e07
net: adjust socket level ICW to cope with ipv6 variant of {recv, send}msg

After the previous patch we have ipv{6,4} variants for {recv,send}msg,
we should use the generic _INET ICW variant to call into the proper
build-in.

This also allows dropping the now unused and rather ugly _INET4 ICW macro

v1 -> v2:
 - use ICW macro to declare inet6_{recv,send}msg
 - fix a couple of checkpatch offender in the code context

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