[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>
This commit is contained in:
Yan Zheng 2005-10-24 19:55:23 +08:00 committed by Arnaldo Carvalho de Melo
parent 444d1d9bb5
commit 4ea6a8046b

View 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;
}
}