]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IPV6]: Fix refcnt of struct ip6_flowlabel
authorYan Zheng <yanzheng@21cn.com>
Mon, 24 Oct 2005 11:55:23 +0000 (19:55 +0800)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Tue, 25 Oct 2005 23:17:52 +0000 (21:17 -0200)
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>
net/ipv6/ip6_flowlabel.c

index f841bde30c18493a94fd5d522b84724a8eb82a4a..bbbe80cdaf72a75a463aff9551e60b31e2f69061 100644 (file)
@@ -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;
                                }
                        }