]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd3e5d48870d34a8bc52b2e9daa6f66c17e722bf0
treeb6e83cf4f8b975c8bec0045c8a74d11496524f10
parent677fc64185750a649d4bc596ac60e5fb2566e39f
[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