1
0
Files
linux/include/net
Vlad Yasevich 07d9396771 [SCTP]: Set assoc_id correctly during INIT collision.
During the INIT/COOKIE-ACK collision cases, it's possible to get
into a situation where the association id is not yet set at the time
of the user event generation.  As a result, user events have an
association id set to 0 which will confuse applications.

This happens if we hit case B of duplicate cookie processing.
In the particular example found and provided by Oscar Isaula
<Oscar.Isaula@motorola.com>, flow looks like this:
A				B
---- INIT------->  (lost)
	    <---------INIT------
---- INIT-ACK--->
	    <------ Cookie ECHO

When the Cookie Echo is received, we end up trying to update the
association that was created on A as a result of the (lost) INIT,
but that association doesn't have the ID set yet.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-05-04 13:55:27 -07:00
..
2007-02-26 11:42:43 -08:00
2007-04-26 00:57:41 -07:00
2006-12-02 21:21:08 -08:00
2006-12-02 21:22:55 -08:00
2006-09-28 18:01:06 -07:00
2006-12-02 21:23:41 -08:00
2007-04-25 22:29:51 -07:00
2006-12-02 21:22:52 -08:00
2007-04-26 00:57:41 -07:00
2007-04-26 00:57:41 -07:00
2007-04-25 22:27:56 -07:00
2007-05-04 12:55:39 -07:00