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

2013-01-27 Thread David Miller
From: Vlad Yasevich Date: Thu, 24 Jan 2013 10:05:37 -0500 > On 01/23/2013 09:44 PM, xufengzhang.m...@gmail.com wrote: >> 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

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

2013-01-27 Thread David Miller
From: Vlad Yasevich vyasev...@gmail.com Date: Thu, 24 Jan 2013 10:05:37 -0500 On 01/23/2013 09:44 PM, xufengzhang.m...@gmail.com wrote: 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()

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

2013-01-24 Thread Vlad Yasevich
On 01/23/2013 09:44 PM, xufengzhang.m...@gmail.com wrote: 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

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

2013-01-24 Thread Neil Horman
On Thu, Jan 24, 2013 at 10:44:34AM +0800, xufengzhang.m...@gmail.com wrote: > 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 >

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

2013-01-24 Thread Neil Horman
On Thu, Jan 24, 2013 at 10:44:34AM +0800, xufengzhang.m...@gmail.com wrote: 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,

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

2013-01-24 Thread Vlad Yasevich
On 01/23/2013 09:44 PM, xufengzhang.m...@gmail.com wrote: 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

[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