diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-03-30 21:39:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-21 02:31:28 +0200 |
commit | 2e04172875c9daf929659eb5c3ef4b98fdf34396 (patch) | |
tree | 5b961e119043bd1ad29abda4569528686a06297e /CREDITS | |
parent | set_mcast_msfilter(): take the guts of setsockopt(MCAST_MSFILTER) into a helper (diff) | |
download | linux-2e04172875c9daf929659eb5c3ef4b98fdf34396.tar.xz linux-2e04172875c9daf929659eb5c3ef4b98fdf34396.zip |
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions