Skip to content
Commit caa9b35f authored by Antoine Tenart's avatar Antoine Tenart Committed by David S. Miller
Browse files

bonding: use the correct function to check for netdev name collision



A new helper to detect if a net device name is in use was added. Use it
here as the return reference from __dev_get_by_name was discarded.

Signed-off-by: default avatarAntoine Tenart <atenart@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 75ea27d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment