Revert "net: core: maybe return -EEXIST in __dev_alloc_name"

This reverts commit d6f295e9de; some userspace (in the case
we noticed it's wpa_supplicant), is relying on the current
error code to determine that a fixed name interface already
exists.

Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Johannes Berg 2017-12-02 08:41:55 +01:00 • committed by David S. Miller
commit 029b6d1405