net/ipv6: remove compat_ipv6_{get,set}sockopt
Handle the few cases that need special treatment in-line using in_compat_syscall(). This also removes all the now unused compat_{get,set}sockopt methods. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
fdf5bdd87c
commit
3021ad5299
@@ -1147,14 +1147,6 @@ struct proto {
|
||||
int __user *option);
|
||||
void (*keepalive)(struct sock *sk, int valbool);
|
||||
#ifdef CONFIG_COMPAT
|
||||
int (*compat_setsockopt)(struct sock *sk,
|
||||
int level,
|
||||
int optname, char __user *optval,
|
||||
unsigned int optlen);
|
||||
int (*compat_getsockopt)(struct sock *sk,
|
||||
int level,
|
||||
int optname, char __user *optval,
|
||||
int __user *option);
|
||||
int (*compat_ioctl)(struct sock *sk,
|
||||
unsigned int cmd, unsigned long arg);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user