[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 f841bde..bbbe80c 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;
                                }
                        }