diff options
| author | Sridhar Samudrala <sridhar@dyn9-47-18-140.beaverton.ibm.com> | 2002-10-10 21:38:36 -0700 |
|---|---|---|
| committer | Sridhar Samudrala <sridhar@dyn9-47-18-140.beaverton.ibm.com> | 2002-10-10 21:38:36 -0700 |
| commit | ef012690c07245bc6b7fc6d126ee7d9d2f796ac9 (patch) | |
| tree | 1def232f4d979889edcf6c7a33e4838be5376b34 /include/net | |
| parent | 6d727be70a244ba695164ab29ca8f1ea933e7c46 (diff) | |
sctp: Fixes a couple of sctp_peeloff() issues.
* data/notifications waiting in the parent socket's receive queue
should be moved to the peeled-off socket's receive queue.
* sendmsg() to a peer already on an association that has been
peeled off should fail and not create a new association.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/sctp/structs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index d1748a73e6b0..9ad2cb194ec3 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1044,6 +1044,9 @@ sctp_association_t *sctp_endpoint_lookup_assoc(const sctp_endpoint_t *ep, sctp_endpoint_t *sctp_endpoint_is_match(sctp_endpoint_t *, const sockaddr_storage_t *); +int sctp_has_association(const sockaddr_storage_t *laddr, + const sockaddr_storage_t *paddr); + int sctp_verify_init(const sctp_association_t *asoc, sctp_cid_t cid, sctp_init_chunk_t *peer_init, |
