]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Reset the network header in ip6_nd_hdr
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Mar 2007 00:05:03 +0000 (21:05 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:00 +0000 (22:26 -0700)
commitf1554bdac5a60eccabb4a304f3c57a8799db8a10
tree084c727a90562de1b31eff84a1b1804edcd11100
parent44bc2094b4bbfda4e5195c0aef01b7340a29c472
[IPV6]: Reset the network header in ip6_nd_hdr

ip6_nd_hdr is always called immediately after a alloc_skb + skb_reserve
sequence, i.e. when skb->tail is equal to skb->data, making it correct to use
skb_reset_network_header().

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c