diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-12-20 17:12:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:59:24 -0500 |
commit | 75205f478331cc64ce729ea72d3c8c1837fb59cb (patch) | |
tree | 6267006b32ff0756c142e5d4c74755d11696f6c6 /include | |
parent | f57d96b2e92d209ab3991bba9a44e0d6ef7614a8 (diff) |
[SCTP]: Implement ADD-IP special case processing for ABORT chunk
ADD-IP spec has a special case for processing ABORTs:
F4) ... One special consideration is that ABORT
Chunks arriving destined to the IP address being deleted MUST be
ignored (see Section 5.3.1 for further details).
Check if the address we received on is in the DEL state, and if
so, ignore the ABORT.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 2528f8a837d9..4d591bfce452 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -1200,6 +1200,8 @@ int sctp_add_bind_addr(struct sctp_bind_addr *, union sctp_addr *, | |||
1200 | int sctp_del_bind_addr(struct sctp_bind_addr *, union sctp_addr *); | 1200 | int sctp_del_bind_addr(struct sctp_bind_addr *, union sctp_addr *); |
1201 | int sctp_bind_addr_match(struct sctp_bind_addr *, const union sctp_addr *, | 1201 | int sctp_bind_addr_match(struct sctp_bind_addr *, const union sctp_addr *, |
1202 | struct sctp_sock *); | 1202 | struct sctp_sock *); |
1203 | int sctp_bind_addr_state(const struct sctp_bind_addr *bp, | ||
1204 | const union sctp_addr *addr); | ||
1203 | union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, | 1205 | union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp, |
1204 | const union sctp_addr *addrs, | 1206 | const union sctp_addr *addrs, |
1205 | int addrcnt, | 1207 | int addrcnt, |