]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9fc71fede9c10ca28fcd48ff7b494d52e19d5e0f
treecade81431264ff1e6c9299671d6711fb35830d6b
parentc2c9a9b060ccd8422f62c7dda7732b6af5b9a7b6
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