diff options
Diffstat (limited to 'net/ipv6/ip6_offload.c')
-rw-r--r-- | net/ipv6/ip6_offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_offload.c b/net/ipv6/ip6_offload.c index 46d452a56d3e..e893cd18612f 100644 --- a/net/ipv6/ip6_offload.c +++ b/net/ipv6/ip6_offload.c | |||
@@ -124,7 +124,7 @@ static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, | |||
124 | unfrag_ip6hlen = ip6_find_1stfragopt(skb, &prevhdr); | 124 | unfrag_ip6hlen = ip6_find_1stfragopt(skb, &prevhdr); |
125 | fptr = (struct frag_hdr *)((u8 *)ipv6h + unfrag_ip6hlen); | 125 | fptr = (struct frag_hdr *)((u8 *)ipv6h + unfrag_ip6hlen); |
126 | fptr->frag_off = htons(offset); | 126 | fptr->frag_off = htons(offset); |
127 | if (skb->next != NULL) | 127 | if (skb->next) |
128 | fptr->frag_off |= htons(IP6_MF); | 128 | fptr->frag_off |= htons(IP6_MF); |
129 | offset += (ntohs(ipv6h->payload_len) - | 129 | offset += (ntohs(ipv6h->payload_len) - |
130 | sizeof(struct frag_hdr)); | 130 | sizeof(struct frag_hdr)); |