[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200723.151753.1717783995744079017.davem@davemloft.net>
Date: Thu, 23 Jul 2020 15:17:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org,
syzbot+bbc3a11c4da63c1b74d6@...kaller.appspotmail.com,
bgalvani@...hat.com, ap420073@...il.com, j.vosburgh@...il.com
Subject: Re: [Patch net] bonding: check return value of
register_netdevice() in bond_newlink()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Wed, 22 Jul 2020 16:31:54 -0700
> Very similar to commit 544f287b8495
> ("bonding: check error value of register_netdevice() immediately"),
> we should immediately check the return value of register_netdevice()
> before doing anything else.
>
> Fixes: 005db31d5f5f ("bonding: set carrier off for devices created through netlink")
> Reported-and-tested-by: syzbot+bbc3a11c4da63c1b74d6@...kaller.appspotmail.com
> Cc: Beniamino Galvani <bgalvani@...hat.com>
> Cc: Taehee Yoo <ap420073@...il.com>
> Cc: Jay Vosburgh <j.vosburgh@...il.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists