diff options
author | Yan Zheng <yanzheng@21cn.com> | 2005-10-24 15:55:23 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-10-26 03:17:52 +0400 |
commit | 4ea6a8046bb49d43c950898f0cb4e1994ef6c89d (patch) | |
tree | cf7ab6f3a88ef7c66f28322febe18d7694ab27b9 /net/ipv6/ip6_flowlabel.c | |
parent | 444d1d9bb5b724f03344c9317bc01d54a9b39073 (diff) | |
download | linux-4ea6a8046bb49d43c950898f0cb4e1994ef6c89d.tar.xz |
[IPV6]: Fix refcnt of struct ip6_flowlabel
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>
Diffstat (limited to 'net/ipv6/ip6_flowlabel.c')
-rw-r--r-- | net/ipv6/ip6_flowlabel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_flowlabel.c b/net/ipv6/ip6_flowlabel.c index f841bde30c18..bbbe80cdaf72 100644 --- a/net/ipv6/ip6_flowlabel.c +++ b/net/ipv6/ip6_flowlabel.c @@ -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; } } |