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)
commit8a00be1c89cc17fda5f438794ff27449af6f00f1
treea9b01d90300f59ca15b5f38a0c3804ccca6bb719
parent882553752196605bf27057e7adb298ecae8058c4
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