]> 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)
commit1a43302d9e30fd7fccdcf370f01cc58abf57af88
tree627c129f365ec275624f1ffa5a50d3c1c13105c2
parenta5f7a9a068bd9c2c0bc45f044e7fe740f79efcc5
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