]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: check parameter value of length in ERROR chunk
authorShan Wei <shanwei@cn.fujitsu.com>
Tue, 19 Apr 2011 21:25:40 +0000 (21:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Apr 2011 08:51:01 +0000 (01:51 -0700)
commitb9f1eaa1e294b8bb27f45b388603157ca8f70fe1
treea9b01d90300f59ca15b5f38a0c3804ccca6bb719
parent52f0693e5113f1e6cae1573bf4f0183914947046
sctp: check parameter value of length in ERROR chunk

When an endpoint receives ERROR that parameter value is invalid,
send an ABORT to peer with a Protocol Violation error code.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statefuns.c