aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/reassembly.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/reassembly.c')
-rw-r--r--net/ipv6/reassembly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c
index ef29a7bb97ce..31d4271ea540 100644
--- a/net/ipv6/reassembly.c
+++ b/net/ipv6/reassembly.c
@@ -726,7 +726,7 @@ static int ipv6_frag_rcv(struct sk_buff **skbp)
726 } 726 }
727 727
728 hdr = ipv6_hdr(skb); 728 hdr = ipv6_hdr(skb);
729 fhdr = (struct frag_hdr *)skb->h.raw; 729 fhdr = (struct frag_hdr *)skb_transport_header(skb);
730 730
731 if (!(fhdr->frag_off & htons(0xFFF9))) { 731 if (!(fhdr->frag_off & htons(0xFFF9))) {
732 /* It is not a fragmented frame */ 732 /* It is not a fragmented frame */