diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netns/sctp.h | 1 | ||||
-rw-r--r-- | include/net/sctp/structs.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/net/netns/sctp.h b/include/net/netns/sctp.h index 3573a81815ad..8ba379f9e467 100644 --- a/include/net/netns/sctp.h +++ b/include/net/netns/sctp.h | |||
@@ -31,6 +31,7 @@ struct netns_sctp { | |||
31 | struct list_head addr_waitq; | 31 | struct list_head addr_waitq; |
32 | struct timer_list addr_wq_timer; | 32 | struct timer_list addr_wq_timer; |
33 | struct list_head auto_asconf_splist; | 33 | struct list_head auto_asconf_splist; |
34 | /* Lock that protects both addr_waitq and auto_asconf_splist */ | ||
34 | spinlock_t addr_wq_lock; | 35 | spinlock_t addr_wq_lock; |
35 | 36 | ||
36 | /* Lock that protects the local_addr_list writers */ | 37 | /* Lock that protects the local_addr_list writers */ |
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 2bb2fcf5b11f..495c87e367b3 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -223,6 +223,10 @@ struct sctp_sock { | |||
223 | atomic_t pd_mode; | 223 | atomic_t pd_mode; |
224 | /* Receive to here while partial delivery is in effect. */ | 224 | /* Receive to here while partial delivery is in effect. */ |
225 | struct sk_buff_head pd_lobby; | 225 | struct sk_buff_head pd_lobby; |
226 | |||
227 | /* These must be the last fields, as they will skipped on copies, | ||
228 | * like on accept and peeloff operations | ||
229 | */ | ||
226 | struct list_head auto_asconf_list; | 230 | struct list_head auto_asconf_list; |
227 | int do_auto_asconf; | 231 | int do_auto_asconf; |
228 | }; | 232 | }; |