2005-10-24 12:10:16

by Yan Zheng

[permalink] [raw]
Subject: [PATCH]IPv6: fix refcnt of struct ip6_flowlabel

Signed-off-by: Yan Zheng <[email protected]>


Index: net/ipv6/ip6_flowlabel.c
===================================================================
--- linux-2.6.14-rc5/net/ipv6/ip6_flowlabel.c 2005-10-22 10:31:13.000000000 +0800
+++ linux/net/ipv6/ip6_flowlabel.c 2005-10-24 19:55:23.000000000 +0800
@@ -483,7 +483,7 @@
goto done;
}
fl1 = sfl->fl;
- atomic_inc(&fl->users);
+ atomic_inc(&fl1->users);
break;
}
}


2005-10-24 18:35:35

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [PATCH]IPv6: fix refcnt of struct ip6_flowlabel

On 10/24/05, Yan Zheng <[email protected]> wrote:
> Signed-off-by: Yan Zheng <[email protected]>
>
>
> Index: net/ipv6/ip6_flowlabel.c
> ===================================================================
> --- linux-2.6.14-rc5/net/ipv6/ip6_flowlabel.c 2005-10-22 10:31:13.000000000 +0800
> +++ linux/net/ipv6/ip6_flowlabel.c 2005-10-24 19:55:23.000000000 +0800
> @@ -483,7 +483,7 @@
> goto done;
> }
> fl1 = sfl->fl;
> - atomic_inc(&fl->users);
> + atomic_inc(&fl1->users);
> break;

Looks OK to me, Yoshifuji-san, ACK?

- Arnaldo

2005-10-25 08:22:54

by YOSHIFUJI Hideaki

[permalink] [raw]
Subject: Re: [PATCH]IPv6: fix refcnt of struct ip6_flowlabel

In article <[email protected]> (at Mon, 24 Oct 2005 16:35:33 -0200), Arnaldo Carvalho de Melo <[email protected]> says:

> On 10/24/05, Yan Zheng <[email protected]> wrote:
> > Signed-off-by: Yan Zheng <[email protected]>
> >
> >
> > Index: net/ipv6/ip6_flowlabel.c
> > ===================================================================
> > --- linux-2.6.14-rc5/net/ipv6/ip6_flowlabel.c 2005-10-22 10:31:13.000000000 +0800
> > +++ linux/net/ipv6/ip6_flowlabel.c 2005-10-24 19:55:23.000000000 +0800
> > @@ -483,7 +483,7 @@
> > goto done;
> > }
> > fl1 = sfl->fl;
> > - atomic_inc(&fl->users);
> > + atomic_inc(&fl1->users);
> > break;
>
> Looks OK to me, Yoshifuji-san, ACK?

Acked-by: YOSHIFUJI Hideaki <[email protected]>

--yoshfuji