diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-10 17:57:15 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:24:54 -0400 |
commit | 1ced98e81d1c2f1ce965ecf8d0032e02ffa07bf0 (patch) | |
tree | 135955ffd557808f97aeb126efde39f8eeaeefbf /net/ipv4/xfrm4_mode_transport.c | |
parent | 8856dfa3e9b71ac2177016f66ace3a8978afecc1 (diff) |
[SK_BUFF] ipv6: More skb_reset_network_header conversions related to skb_pull
Now related to this form:
skb->nh.ipv6h = (struct ipv6hdr *)skb_put(skb, length);
That, as the others, is done when skb->tail is still equal to skb->data, making
the conversion to skb_reset_network_header possible.
Also one more case equivalent to skb->nh.raw = skb->data, of this form:
iph = (struct ipv6hdr *)skb->data;
<SNIP>
skb->nh.ipv6h = iph;
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_mode_transport.c')
0 files changed, 0 insertions, 0 deletions