ip*_mc_gsfget(): lift copyout of struct group_filter into callers
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Mar 2020 21:18:30 +0000 (17:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 May 2020 00:31:27 +0000 (20:31 -0400)
commit931ca7ab7fe804d77bc6952f1512950c0d870f26
treeec55897513da03af5bc76b9f9f7a33ad1d59b4f6
parente9c375fb5edeb550786d1436784db909bf672e9f
ip*_mc_gsfget(): lift copyout of struct group_filter into callers

pass the userland pointer to the array in its tail, so that part
gets copied out by our functions; copyout of everything else is
done in the callers.  Rationale: reuse for compat; the array
is the same in native and compat, the layout of parts before it
is different for compat.

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