commit | aea7427f70cce5fa8f99ce447b213e9e3b49f24c | [log] [tgz] |
---|---|---|
author | Shan Wei <shanwei@cn.fujitsu.com> | Thu Jun 19 16:29:39 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 19 16:29:39 2008 -0700 |
tree | cf247ed4683d498ed7c067da7e6ef315ad97f3ff | |
parent | ef3a62d272f033989e83eb1f26505f93f93e3e69 [diff] |
ipv6: Remove options header when setsockopt's optlen is 0 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>