diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2011-03-17 03:44:08 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-17 03:44:08 -0400 |
| commit | 1d2a1959fe534279cf37aba20b08c24c20840e52 (patch) | |
| tree | 67c0b9aa7fe22a44bf0b4af88947799203eb8f67 /include/linux/net.h | |
| parent | 5a79ce76e9bb8f4b2cd8106ee36d15ee05013bcf (diff) | |
| parent | 054cfaacf88865bff1dd58d305443d5d6c068a08 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into sh-latest
Diffstat (limited to 'include/linux/net.h')
| -rw-r--r-- | include/linux/net.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 16faa130088c..94de83c0f877 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
| @@ -118,6 +118,7 @@ enum sock_shutdown_cmd { | |||
| 118 | }; | 118 | }; |
| 119 | 119 | ||
| 120 | struct socket_wq { | 120 | struct socket_wq { |
| 121 | /* Note: wait MUST be first field of socket_wq */ | ||
| 121 | wait_queue_head_t wait; | 122 | wait_queue_head_t wait; |
| 122 | struct fasync_struct *fasync_list; | 123 | struct fasync_struct *fasync_list; |
| 123 | struct rcu_head rcu; | 124 | struct rcu_head rcu; |
| @@ -142,7 +143,7 @@ struct socket { | |||
| 142 | 143 | ||
| 143 | unsigned long flags; | 144 | unsigned long flags; |
| 144 | 145 | ||
| 145 | struct socket_wq *wq; | 146 | struct socket_wq __rcu *wq; |
| 146 | 147 | ||
| 147 | struct file *file; | 148 | struct file *file; |
| 148 | struct sock *sk; | 149 | struct sock *sk; |
