diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-30 04:08:59 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-21 02:31:27 +0200 |
commit | 0dfe6581a7e35bafe5fc4d9b84edd0e66b4fd78a (patch) | |
tree | 7690c0c6a8fb539ca0462408935d8beba1cf8417 /lib/fdt_ro.c | |
parent | ip*_mc_gsfget(): lift copyout of struct group_filter into callers (diff) | |
download | linux-0dfe6581a7e35bafe5fc4d9b84edd0e66b4fd78a.tar.xz linux-0dfe6581a7e35bafe5fc4d9b84edd0e66b4fd78a.zip |
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>
Diffstat (limited to 'lib/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions