diff options
author | 2005-10-24 19:55:23 +0800 | |
---|---|---|
committer | 2005-10-25 21:17:52 -0200 | |
commit | 4ea6a8046bb49d43c950898f0cb4e1994ef6c89d (patch) | |
tree | cf7ab6f3a88ef7c66f28322febe18d7694ab27b9 /net/ipv6/ip6_flowlabel.c | |
parent | [PATCH] qlogic lockup fix (diff) | |
download | linux-4ea6a8046bb49d43c950898f0cb4e1994ef6c89d.tar.gz linux-4ea6a8046bb49d43c950898f0cb4e1994ef6c89d.tar.bz2 linux-4ea6a8046bb49d43c950898f0cb4e1994ef6c89d.zip |
[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; } } |