Re: [PATCH] SCTP: Fix kernel panic while received AUTH chunk while enabled auth

2008-02-05 Thread David Miller
From: Wei Yongjun <[EMAIL PROTECTED]> Date: Tue, 05 Feb 2008 17:21:06 +0900 > If STCP is started while /proc/sys/net/sctp/auth_enable is set 0 and > association is established between endpoints. Then if > /proc/sys/net/sctp/auth_enable is set 1, a received AUTH chunk will > cause kernel panic.

Re: [PATCH] SCTP: Fix kernel panic while received AUTH chunk while enabled auth

2008-02-05 Thread Wei Yongjun
If STCP is started while /proc/sys/net/sctp/auth_enable is set 0 and association is established between endpoints. Then if /proc/sys/net/sctp/auth_enable is set 1, a received AUTH chunk will cause kernel panic. Test as following: step 1: echo 0> /proc/sys/net/sctp/auth_enable step 2: SCTP c

Re: [PATCH] SCTP: Fix kernel panic while received AUTH chunk while enabled auth

2008-01-25 Thread Vlad Yasevich
Sorry for the delay. Was on vacation without net access. Wei Yongjun wrote: This patch fix this probleam to treat AUTH chunk as unknow chunk if peer has initialized with no auth capable. Signed-off-by: Wei Yongjun <[EMAIL PROTECTED]> Acked-by: Vlad Yasevich <[EMAIL PROTECTED]> --- a/n

[PATCH] SCTP: Fix kernel panic while received AUTH chunk while enabled auth

2008-01-21 Thread Wei Yongjun
If STCP is started while /proc/sys/net/sctp/auth_enable is set 0 and association is established between endpoints. Then if /proc/sys/net/sctp/auth_enable is set 1, a received AUTH chunk will cause kernel panic. Test as following: step 1: echo 0> /proc/sys/net/sctp/auth_enable step 2: SCTP