Skip to content

Commit

Permalink
[IPV6]: Fix ipv6 fragment ID selection at slow path
Browse files Browse the repository at this point in the history
Signed-Off-By: Yan Zheng <yanzheng@21cn.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Yan Zheng authored and David S. Miller committed Oct 3, 2005
1 parent 444fc8f commit f36d6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/ip6_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ static int ip6_fragment(struct sk_buff *skb, int (*output)(struct sk_buff *))
*/
fh->nexthdr = nexthdr;
fh->reserved = 0;
if (frag_id) {
if (!frag_id) {
ipv6_select_ident(skb, fh);
frag_id = fh->identification;
} else
Expand Down

0 comments on commit f36d6ab

Please sign in to comment.