Skip to content
Commit 6c8c4e4c authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

bond: check if slave count is 0 in case when deciding to take slave's mac

in bond_enslave(), check slave_cnt before actually using slave address.

introduced by:
commit 409cc1f8

 (bond: have random dev address by default instead of zeroes)

Reported-by: default avatarGreg Rose <gregory.v.rose@intel.com>
Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0237c110
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