[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)
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

Simple merge