From: Yan Zheng Date: Mon, 24 Oct 2005 11:55:23 +0000 (+0800) Subject: [IPV6]: Fix refcnt of struct ip6_flowlabel X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4ea6a8046bb49d43c950898f0cb4e1994ef6c89d;p=openwrt%2Fstaging%2Fblogic.git [IPV6]: Fix refcnt of struct ip6_flowlabel Signed-off-by: Yan Zheng Acked-by: YOSHIFUJI Hideaki Signed-off-by: Arnaldo Carvalho de Melo --- 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; } }