bonding: uninitialized variable in bond_miimon_inspect()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Nov 2022 11:06:14 +0000 (14:06 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 1 Dec 2022 09:47:36 +0000 (10:47 +0100)
commite5214f363dabca240446272dac54d404501ad5e5
tree316585c4393f35ee2bfd7bdf2c3de7feaf138812
parent46115b276b21a781ddc119cc7bf8e1ea510ce458
bonding: uninitialized variable in bond_miimon_inspect()

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>
drivers/net/bonding/bond_main.c