]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net: core: maybe return -EEXIST in __dev_alloc_name"
authorJohannes Berg <johannes.berg@intel.com>
Sat, 2 Dec 2017 07:41:55 +0000 (08:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 16:29:48 +0000 (11:29 -0500)
commitab1e837fa2c5c7881bfb4cd83d4617f5434486a4
treefcb14271eeeb7bb11d58f0a5bcf2222227554b1b
parentc7e247144619a9e5179b11ef30fc8ad511a9d3f0
Revert "net: core: maybe return -EEXIST in __dev_alloc_name"

This reverts commit ddb03ddf2b14; 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>
net/core/dev.c