dccp: Add check for truncated ICMPv6 DCCP error packets
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sat, 26 Jul 2008 10:59:11 +0000 (11:59 +0100)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Sat, 26 Jul 2008 10:59:11 +0000 (11:59 +0100)
commit860239c56bbc7c830bdbcec93b140f22a5a5219b
tree52de988257064b33441f3a8341f6f2fac48a3fe4
parent18e1d836002ad970f42736bad09b7be9cfe99545
dccp: Add check for truncated ICMPv6 DCCP error packets

This patch adds a minimum-length check for ICMPv6 packets, as per the previous
patch for ICMPv4 payloads.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
net/dccp/ipv6.c