diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-09-22 06:40:15 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-22 06:40:16 -0700 |
commit | c5da4b68d2a8592a7535bb9e4523158088a6538b (patch) | |
tree | b07036217baa9210b095571b5316664e0077a665 /drivers/watchdog | |
parent | 2002fbac743b6e2391b4ed50ad9eb626768dd78a (diff) | |
parent | 2ffd57327ff1e91ad675c1efd5f02a3d786e64d1 (diff) |
Merge branch 'bonding-fix-null-deref-in-bond_rr_gen_slave_id'
Jonathan Toppins says:
====================
bonding: fix NULL deref in bond_rr_gen_slave_id
Fix a NULL dereference of the struct bonding.rr_tx_counter member because
if a bond is initially created with an initial mode != zero (Round Robin)
the memory required for the counter is never created and when the mode is
changed there is never any attempt to verify the memory is allocated upon
switching modes.
====================
Link: https://lore.kernel.org/r/cover.1663694476.git.jtoppins@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions