[PATCH v2] sctp: set association state to established in dupcook_a handler

2013-01-23 Thread xufengzhang.main
From: Xufeng Zhang While sctp handling a duplicate COOKIE-ECHO and the action is 'Association restart', sctp_sf_do_dupcook_a() will processing the unexpected COOKIE-ECHO for peer restart, but it does not set the association state to SCTP_STATE_ESTABLISHED, so the association could stuck in

[PATCH v2] sctp: set association state to established in dupcook_a handler

2013-01-23 Thread xufengzhang.main
From: Xufeng Zhang xufeng.zh...@windriver.com While sctp handling a duplicate COOKIE-ECHO and the action is 'Association restart', sctp_sf_do_dupcook_a() will processing the unexpected COOKIE-ECHO for peer restart, but it does not set the association state to SCTP_STATE_ESTABLISHED, so the

[PATCH] sctp: set association state to established in dupcook_a handler

2013-01-22 Thread xufengzhang.main
From: Xufeng Zhang While sctp handling a duplicate COOKIE-ECHO and the action is 'Association restart', sctp_sf_do_dupcook_a() will processing the unexpected COOKIE-ECHO for peer restart, but it does not set the association state to SCTP_STATE_ESTABLISHED, so the association could stuck in

[PATCH] sctp: set association state to established in dupcook_a handler

2013-01-22 Thread xufengzhang.main
From: Xufeng Zhang xufeng.zh...@windriver.com While sctp handling a duplicate COOKIE-ECHO and the action is 'Association restart', sctp_sf_do_dupcook_a() will processing the unexpected COOKIE-ECHO for peer restart, but it does not set the association state to SCTP_STATE_ESTABLISHED, so the

[PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-18 Thread xufengzhang.main
When "Invalid Stream Identifier" ERROR happens after process the received DATA chunks, this ERROR chunk is enqueued into outqueue before SACK chunk, so when bundling ERROR chunk with SACK chunk, the ERROR chunk is always placed first in the packet because of the chunk's position in the outqueue.

[PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-18 Thread xufengzhang.main
When Invalid Stream Identifier ERROR happens after process the received DATA chunks, this ERROR chunk is enqueued into outqueue before SACK chunk, so when bundling ERROR chunk with SACK chunk, the ERROR chunk is always placed first in the packet because of the chunk's position in the outqueue.