[SCTP]: Fix potential race condition between sctp_close() and sctp_rcv().
authorSridhar Samudrala <sri@us.ibm.com>
Tue, 17 Jan 2006 19:51:28 +0000 (11:51 -0800)
committerSridhar Samudrala <sri@us.ibm.com>
Tue, 17 Jan 2006 19:51:28 +0000 (11:51 -0800)
commit7a48f923b8b27bfaa5f7b2a449a6fe268724ddd5
tree005774759b9f0bba685adc9d9bccbe208a787c2f
parent2664b25051f7ab96b22b199aa2f5ef6a949a4296
[SCTP]: Fix potential race condition between sctp_close() and sctp_rcv().

Do not release the reference to association/endpoint if an incoming skb is
added to backlog. Instead release it after the chunk is processed in
sctp_backlog_rcv().

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/input.c
net/sctp/inqueue.c