OSDN Git Service

ipv[46]: do compat setsockopt for MCAST_{JOIN,LEAVE}_GROUP directly
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Apr 2020 23:56:22 +0000 (19:56 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 May 2020 00:31:30 +0000 (20:31 -0400)
commit2f984f11fdc06bcfd5bb528d07a93c20301dd068
tree6d0e66c255ae338b042aa173dc97b7f5bf4e0083
parent168a2cca81438aef819e43feb161614488dee97b
ipv[46]: do compat setsockopt for MCAST_{JOIN,LEAVE}_GROUP directly

direct parallel to the way these two are handled in the native
->setsockopt() instances - the helpers that do the real work
are already separated and can be reused as-is in this case.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/ipv4/ip_sockglue.c
net/ipv6/ipv6_sockglue.c