aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-03-29 22:08:59 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2020-05-20 20:31:27 -0400
commit0dfe6581a7e35bafe5fc4d9b84edd0e66b4fd78a (patch)
tree7690c0c6a8fb539ca0462408935d8beba1cf8417 /tools/perf/scripts/python
parentip*_mc_gsfget(): lift copyout of struct group_filter into callers (diff)
downloadlinux-0dfe6581a7e35bafe5fc4d9b84edd0e66b4fd78a.tar.gz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions