• Al Viro's avatar
    get rid of compat_mc_getsockopt() · 0dfe6581
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    0dfe6581
ipv6_sockglue.c 31.8 KB