aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2020-03-30 15:39:43 -0400
committerAl Viro <[email protected]>2020-05-20 20:31:28 -0400
commit2e04172875c9daf929659eb5c3ef4b98fdf34396 (patch)
tree5b961e119043bd1ad29abda4569528686a06297e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parente986d4dabcb8fab87b36b607bc710e42fe206baf (diff)
ipv4: do compat setsockopt for MCAST_MSFILTER directly
Parallel to what the native setsockopt() does, except that unlike the native setsockopt() we do not use memdup_user() - we want the sockaddr_storage fields properly aligned, so we allocate 4 bytes more and copy compat_group_filter at the offset 4, which yields the proper alignments. Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions