[SK_BUFF]: Introduce skb_set_transport_header
For the cases where the transport header is being set to a offset from skb->data. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ea2ae17d64
commit
967b05f64e
@@ -785,7 +785,7 @@ struct sk_buff *nf_ct_frag6_gather(struct sk_buff *skb)
|
||||
goto ret_orig;
|
||||
}
|
||||
|
||||
clone->h.raw = clone->data + fhoff;
|
||||
skb_set_transport_header(clone, fhoff);
|
||||
hdr = ipv6_hdr(clone);
|
||||
fhdr = (struct frag_hdr *)clone->h.raw;
|
||||
|
||||
|
Reference in New Issue
Block a user