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
Supports Markdown
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