sctp: fix association hangs due to errors when reneging events from the ordering...
authorLee A. Roberts <lee.roberts@hp.com>
Thu, 28 Feb 2013 04:37:29 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2013 20:34:26 +0000 (15:34 -0500)
commit95ac7b859f508b1b3e6adf7dce307864e4384a69
tree5e1c0cad931d5440c0434da15ef52ed2eaf002ab
parente67f85ecd83de66d4f25f2e0f90bb0d01a52ddd8
sctp: fix association hangs due to errors when reneging events from the ordering queue

In sctp_ulpq_renege_list(), events being reneged from the
ordering queue may correspond to multiple TSNs.  Identify
all affected packets; sum freed space and renege from the
tsnmap.

Signed-off-by: Lee A. Roberts <lee.roberts@hp.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
net/sctp/ulpqueue.c