[SCTP]: Flush fragment queue when exiting partial delivery.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sun, 16 Dec 2007 22:05:45 +0000 (14:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2007 22:05:45 +0000 (14:05 -0800)
commitef5d4cf2f9aae4e09883d2d664e367a16b47d857
treeb6e83cf4f8b975c8bec0045c8a74d11496524f10
parent215f7b08f2a142ec19f4bd3d6de263e68b877955
[SCTP]: Flush fragment queue when exiting partial delivery.

At the end of partial delivery, we may have complete messages
sitting on the fragment queue.  These messages are stuck there
until a new fragment arrives.  This can comletely stall a
given association.  When clearing partial delivery state, flush
any complete messages from the fragment queue and send them on
their way up.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ulpqueue.c