sctp: add subscribe per asoc

The member subscribe should be per asoc, so that sockopt SCTP_EVENT
in the next patch can subscribe a event from one asoc only.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Xin Long
2018-11-18 16:08:52 +08:00
committed by David S. Miller
parent 2cc0eeb676
commit a1e3a0590f
6 changed files with 17 additions and 10 deletions

View File

@@ -2077,6 +2077,8 @@ struct sctp_association {
int sent_cnt_removable;
__u16 subscribe;
__u64 abandoned_unsent[SCTP_PR_INDEX(MAX) + 1];
__u64 abandoned_sent[SCTP_PR_INDEX(MAX) + 1];
};