Skip to content

Commit

Permalink
[IPV6]: Fix refcnt of struct ip6_flowlabel
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Zheng <yanzheng@21cn.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
  • Loading branch information
Yan Zheng authored and Arnaldo Carvalho de Melo committed Oct 25, 2005
1 parent 444d1d9 commit 4ea6a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/ip6_flowlabel.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ int ipv6_flowlabel_opt(struct sock *sk, char __user *optval, int optlen)
goto done;
}
fl1 = sfl->fl;
atomic_inc(&fl->users);
atomic_inc(&fl1->users);
break;
}
}
Expand Down

0 comments on commit 4ea6a80

Please sign in to comment.