mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
net/ipv4: remove compat_ip_{get,set}sockopt
Handle the few cases that need special treatment in-line using in_compat_syscall(). Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
02caad7cc0
commit
b6238c04c0
10 changed files with 62 additions and 230 deletions
|
@ -1089,10 +1089,6 @@ static struct sctp_af sctp_af_inet = {
|
|||
.net_header_len = sizeof(struct iphdr),
|
||||
.sockaddr_len = sizeof(struct sockaddr_in),
|
||||
.ip_options_len = sctp_v4_ip_options_len,
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_setsockopt = compat_ip_setsockopt,
|
||||
.compat_getsockopt = compat_ip_getsockopt,
|
||||
#endif
|
||||
};
|
||||
|
||||
struct sctp_pf *sctp_get_pf_specific(sa_family_t family)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue