diff options
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 8b6d40223090..84c58da10f5c 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -657,7 +657,7 @@ int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *)) | |||
657 | fh->nexthdr = nexthdr; | 657 | fh->nexthdr = nexthdr; |
658 | fh->reserved = 0; | 658 | fh->reserved = 0; |
659 | fh->frag_off = htons(offset); | 659 | fh->frag_off = htons(offset); |
660 | if (frag->next != NULL) | 660 | if (frag->next) |
661 | fh->frag_off |= htons(IP6_MF); | 661 | fh->frag_off |= htons(IP6_MF); |
662 | fh->identification = frag_id; | 662 | fh->identification = frag_id; |
663 | ipv6_hdr(frag)->payload_len = | 663 | ipv6_hdr(frag)->payload_len = |