]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: uninitialized variable in bond_miimon_inspect()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Nov 2022 11:06:14 +0000 (14:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:08 +0000 (11:41 +0100)
commit4168c9851c607934dc5ffa66eacedaacac1c585e
treebcdb94b31fe9df75384b57a1be12ce0828994b22
parent866296a1debcaffc371029d142e4793b8cff2c85
bonding: uninitialized variable in bond_miimon_inspect()

[ Upstream commit e5214f363dabca240446272dac54d404501ad5e5 ]

The "ignore_updelay" variable needs to be initialized to false.

Fixes: f8a65ab2f3ff ("bonding: fix link recovery in mode 2 when updelay is nonzero")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Link: https://lore.kernel.org/r/Y4SWJlh3ohJ6EPTL@kili
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/bonding/bond_main.c