From: Cong Wang <xiyou.wangc...@gmail.com>
Date: Thu, 27 Aug 2020 10:40:41 -0700

> When ->init() fails, ->destroy() is called to clean up.
> So it is unnecessary to clean up in red_init(), and it
> would cause some refcount underflow.
> 
> Fixes: aee9caa03fc3 ("net: sched: sch_red: Add qevents "early_drop" and 
> "mark"")
> Reported-and-tested-by: syzbot+b33c1cb0a30ebdc8a...@syzkaller.appspotmail.com
> Reported-and-tested-by: syzbot+e5ea5f8a3ecfd4427...@syzkaller.appspotmail.com
> Cc: Petr Machata <pe...@mellanox.com>
> Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com>

Applied, thank you.

Reply via email to