diff options
author | James Morris <jmorris@namei.org> | 2011-03-07 18:55:06 -0500 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-03-07 18:55:06 -0500 |
commit | 1cc26bada9f6807814806db2f0d78792eecdac71 (patch) | |
tree | 5509b5139db04af6c13db0a580c84116a4a54039 /include/net/sock.h | |
parent | eae61f3c829439f8f9121b5cd48a14be04df451f (diff) | |
parent | 214d93b02c4fe93638ad268613c9702a81ed9192 (diff) |
Merge branch 'master'; commit 'v2.6.38-rc7' into next
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); |