|
Lines 219-226
Link Here
|
| 219 |
goto err; |
219 |
goto err; |
| 220 |
|
220 |
|
| 221 |
offset = ntohs(fhdr->frag_off) & ~0x7; |
221 |
offset = ntohs(fhdr->frag_off) & ~0x7; |
| 222 |
end = offset + (ntohs(ipv6_hdr(skb)->payload_len) - |
222 |
end = offset + ntohs(ipv6_hdr(skb)->payload_len); |
| 223 |
((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1))); |
223 |
end -= (u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1); |
| 224 |
|
224 |
|
| 225 |
if ((unsigned int)end > IPV6_MAXPLEN) { |
225 |
if ((unsigned int)end > IPV6_MAXPLEN) { |
| 226 |
__IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), |
226 |
__IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), |