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>
Showing
- include/linux/igmp.h 1 addition, 1 deletioninclude/linux/igmp.h
- include/net/ipv6.h 1 addition, 1 deletioninclude/net/ipv6.h
- net/ipv4/igmp.c 5 additions, 13 deletionsnet/ipv4/igmp.c
- net/ipv4/ip_sockglue.c 14 additions, 5 deletionsnet/ipv4/ip_sockglue.c
- net/ipv6/ipv6_sockglue.c 14 additions, 4 deletionsnet/ipv6/ipv6_sockglue.c
- net/ipv6/mcast.c 3 additions, 7 deletionsnet/ipv6/mcast.c
Loading
Please register or sign in to comment