[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200403.160108.1666760058187558170.davem@davemloft.net>
Date: Fri, 03 Apr 2020 16:01:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org,
syzbot+8325e509a1bf83ec741d@...kaller.appspotmail.com,
jhs@...atatu.com, jiri@...nulli.us, paulmck@...nel.org
Subject: Re: [Patch net] net_sched: fix a missing refcnt in tcindex_init()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Thu, 2 Apr 2020 20:58:51 -0700
> The initial refcnt of struct tcindex_data should be 1,
> it is clear that I forgot to set it to 1 in tcindex_init().
> This leads to a dec-after-zero warning.
>
> Reported-by: syzbot+8325e509a1bf83ec741d@...kaller.appspotmail.com
> Fixes: 304e024216a8 ("net_sched: add a temporary refcnt for struct tcindex_data")
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Cc: Jiri Pirko <jiri@...nulli.us>
> Cc: Paul E. McKenney <paulmck@...nel.org>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied, thanks Cong.
Powered by blists - more mailing lists