diff options
author | Yan Zheng <yanzheng@21cn.com> | 2005-10-24 13:55:23 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-10-26 01:17:52 +0200 |
commit | 4ea6a8046bb49d43c950898f0cb4e1994ef6c89d (patch) | |
tree | cf7ab6f3a88ef7c66f28322febe18d7694ab27b9 | |
parent | [PATCH] qlogic lockup fix (diff) | |
download | linux-4ea6a8046bb49d43c950898f0cb4e1994ef6c89d.tar.xz 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>
-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; } } |