Skip to content
Commit 7d54dc68 authored by Vlad Yasevich's avatar Vlad Yasevich
Browse files

SCTP: Always flush the queue when uncorcking.



When the code calls uncork, trigger a queue flush, even
if the queue was not corked.  Most callers that explicitely
cork the queue will have additinal checks to see if they 
corked it.  Callers who do not cork the queue expect packets
to flow when they call uncork.

The scneario that showcased this bug happend when we were not
able to bundle DATA with outgoing COOKIE-ECHO.  As a result
the data just sat in the outqueue and did not get transmitted.
The application expected a response, but nothing happened.

Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
parent fa7ff654
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment