diff options
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 21a02f7e4f45..bc1cf7d88ccb 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -152,14 +152,18 @@ struct sock_common { | |||
152 | * fields between dontcopy_begin/dontcopy_end | 152 | * fields between dontcopy_begin/dontcopy_end |
153 | * are not copied in sock_copy() | 153 | * are not copied in sock_copy() |
154 | */ | 154 | */ |
155 | /* private: */ | ||
155 | int skc_dontcopy_begin[0]; | 156 | int skc_dontcopy_begin[0]; |
157 | /* public: */ | ||
156 | union { | 158 | union { |
157 | struct hlist_node skc_node; | 159 | struct hlist_node skc_node; |
158 | struct hlist_nulls_node skc_nulls_node; | 160 | struct hlist_nulls_node skc_nulls_node; |
159 | }; | 161 | }; |
160 | int skc_tx_queue_mapping; | 162 | int skc_tx_queue_mapping; |
161 | atomic_t skc_refcnt; | 163 | atomic_t skc_refcnt; |
164 | /* private: */ | ||
162 | int skc_dontcopy_end[0]; | 165 | int skc_dontcopy_end[0]; |
166 | /* public: */ | ||
163 | }; | 167 | }; |
164 | 168 | ||
165 | /** | 169 | /** |
@@ -749,6 +753,8 @@ struct proto { | |||
749 | int level, | 753 | int level, |
750 | int optname, char __user *optval, | 754 | int optname, char __user *optval, |
751 | int __user *option); | 755 | int __user *option); |
756 | int (*compat_ioctl)(struct sock *sk, | ||
757 | unsigned int cmd, unsigned long arg); | ||
752 | #endif | 758 | #endif |
753 | int (*sendmsg)(struct kiocb *iocb, struct sock *sk, | 759 | int (*sendmsg)(struct kiocb *iocb, struct sock *sk, |
754 | struct msghdr *msg, size_t len); | 760 | struct msghdr *msg, size_t len); |