Skip to content
Commit c4d2444e authored by Sridhar Samudrala's avatar Sridhar Samudrala
Browse files

[SCTP]: Fix couple of races between sctp_peeloff() and sctp_rcv().



Validate and update the sk in sctp_rcv() to avoid the race where an
assoc/ep could move to a different socket after we get the sk, but before
the skb is added to the backlog.

Also migrate the skb's in backlog queue to new sk when doing a peeloff.

Signed-off-by: default avatarSridhar Samudrala <sri@us.ibm.com>
parent 313e7b4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment