aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/inet_connection_sock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h
index fd3f1d8cdc4a..cccea051e922 100644
--- a/include/net/inet_connection_sock.h
+++ b/include/net/inet_connection_sock.h
@@ -46,7 +46,8 @@ struct inet_connection_sock_af_ops {
46 struct request_sock *req, 46 struct request_sock *req,
47 struct dst_entry *dst); 47 struct dst_entry *dst);
48 int (*remember_stamp)(struct sock *sk); 48 int (*remember_stamp)(struct sock *sk);
49 __u16 net_header_len; 49 u16 net_header_len;
50 u16 sockaddr_len;
50 int (*setsockopt)(struct sock *sk, int level, int optname, 51 int (*setsockopt)(struct sock *sk, int level, int optname,
51 char __user *optval, int optlen); 52 char __user *optval, int optlen);
52 int (*getsockopt)(struct sock *sk, int level, int optname, 53 int (*getsockopt)(struct sock *sk, int level, int optname,
@@ -58,7 +59,6 @@ struct inet_connection_sock_af_ops {
58 int level, int optname, 59 int level, int optname,
59 char __user *optval, int __user *optlen); 60 char __user *optval, int __user *optlen);
60 void (*addr2sockaddr)(struct sock *sk, struct sockaddr *); 61 void (*addr2sockaddr)(struct sock *sk, struct sockaddr *);
61 int sockaddr_len;
62}; 62};
63 63
64/** inet_connection_sock - INET connection oriented sock 64/** inet_connection_sock - INET connection oriented sock