Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 597792 | Differences between
and this patch

Collapse All | Expand All

(-)a/net/ipv6/reassembly.c (-2 / +2 lines)
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)),

Return to bug 597792