ipv6: Remove options header when setsockopt's optlen is 0
authorShan Wei <shanwei@cn.fujitsu.com>
Thu, 19 Jun 2008 23:29:39 +0000 (16:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jun 2008 23:29:39 +0000 (16:29 -0700)
Remove the sticky Hop-by-Hop options header by calling setsockopt()
for IPV6_HOPOPTS with a zero option length, per RFC3542.

Routing header and Destination options header does the same as
Hop-by-Hop options header.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found