commit | 0dfe6581a7e35bafe5fc4d9b84edd0e66b4fd78a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Mar 29 22:08:59 2020 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed May 20 20:31:27 2020 -0400 |
tree | 7690c0c6a8fb539ca0462408935d8beba1cf8417 | |
parent | 931ca7ab7fe804d77bc6952f1512950c0d870f26 [diff] |
get rid of compat_mc_getsockopt() now we can do MCAST_MSFILTER in compat ->getsockopt() without playing silly buggers with copying things back and forth. We can form a native struct group_filter (sans the variable-length tail) on stack, pass that + pointer to the tail of original request to the helper doing the bulk of the work, then do the rest of copyout - same as the native getsockopt() does. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>