diff options
author | Wei Yongjun | 2008-02-05 12:02:26 +0100 |
---|---|---|
committer | David S. Miller | 2008-02-05 12:02:26 +0100 |
commit | d2f19fa13ee5e78d4195a771f8f1ff7d42a80740 (patch) | |
tree | 1faad0851f729cb8bf45b976cf3b28c5de9a2164 /.mailmap | |
parent | [IPV4]: Formatting fix for /proc/net/fib_trie. (diff) | |
download | kernel-qcow2-linux-d2f19fa13ee5e78d4195a771f8f1ff7d42a80740.tar.gz kernel-qcow2-linux-d2f19fa13ee5e78d4195a771f8f1ff7d42a80740.tar.xz kernel-qcow2-linux-d2f19fa13ee5e78d4195a771f8f1ff7d42a80740.zip |
[SCTP]: Fix kernel panic while received AUTH chunk while enabled auth
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 client SCTP server
INIT --------->
<--------- INIT-ACK
COOKIE-ECHO --------->
<--------- COOKIE-ACK
step 3:
echo 1> /proc/sys/net/sctp/auth_enable
step 4:
SCTP client SCTP server
AUTH -----------> Kernel Panic
This patch fix this probleam to treat AUTH chunk as unknow chunk if peer
has initialized with no auth capable.
> 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 <yjwei@cn.fujitsu.com>
>
> Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
>
>>
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions