Skip to content
Commit c5da4b68 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

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: default avatarJakub Kicinski <kuba@kernel.org>
parents 2002fbac 2ffd5732
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment