ipv6: Check the hop limit setting in ancillary data.
authorShan Wei <shanwei@cn.fujitsu.com>
Tue, 10 Jun 2008 07:50:55 +0000 (15:50 +0800)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 12 Jun 2008 00:19:08 +0000 (09:19 +0900)
commite8766fc86b34d44a8c55a2f9d71da69e091b1ca4
treec96952c8a6250c48036adcf51c6ef0bcc8d8c770
parent36e3deae8ba84865fd9eb3f2f21bbc00d49b7544
ipv6: Check the hop limit setting in ancillary data.

When specifing the outgoing hop limit as ancillary data for sendmsg(),
the kernel doesn't check the integer hop limit value as specified in
[RFC-3542] section 6.3.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv6/datagram.c