]> git.baikalelectronics.ru Git - kernel.git/commit
lift compat definitions of mcast [sg]etsockopt requests into net/compat.h
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 10 May 2020 00:58:17 +0000 (20:58 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 May 2020 00:31:25 +0000 (20:31 -0400)
commit34be7eb14ba60400aa67955d6ba29feb4eb63df3
tree7d6926f0d0659978eb6b6912419bad48857fa82c
parent42ac28131ba6f051d9171a62d5cdead9c896ea07
lift compat definitions of mcast [sg]etsockopt requests into net/compat.h

We want to get rid of compat_mc_[sg]etsockopt() and to have that stuff
handled without compat_alloc_user_space(), extra copying through
userland, etc.  To do that we'll need ipv4 and ipv6 instances of
->compat_[sg]etsockopt() to manipulate the 32bit variants of mcast
requests, so we need to move the definitions of those out of net/compat.c
and into a public header.

This patch just does a mechanical move to include/net/compat.h

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/net/compat.h
net/compat.c