From: Sridhar Samudrala Date: Tue, 17 Jan 2006 19:56:26 +0000 (-0800) Subject: [SCTP]: Fix couple of races between sctp_peeloff() and sctp_rcv(). X-Git-Tag: v2.6.16-rc2~256^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4d2444e992c4eda1d7fc3287e93ba58295bf6b9;p=pandora-kernel.git [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: Sridhar Samudrala --- Reading git-diff-tree failed