]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: handle Redirect ICMP Message with no Redirected Header option
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Thu, 22 Aug 2013 04:07:35 +0000 (12:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2013 03:08:21 +0000 (20:08 -0700)
commit53bdeeb2c9d88364e2fcb09db796893da3216870
tree627c129f365ec275624f1ffa5a50d3c1c13105c2
parentd81291f5fd19230cca3ede9f9e3fa22b72d53add
ipv6: handle Redirect ICMP Message with no Redirected Header option

rfc 4861 says the Redirected Header option is optional, so
the kernel should not drop the Redirect Message that has no
Redirected Header option. In this patch, the function
ip6_redirect_no_header() is introduced to deal with that
condition.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
include/net/ip6_route.h
net/ipv6/ndisc.c
net/ipv6/route.c