net: remove .ndo_change_proto_down
authorJakub Kicinski <kuba@kernel.org>
Tue, 23 Nov 2021 01:24:47 +0000 (17:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Nov 2021 12:18:48 +0000 (12:18 +0000)
commit2106efda785b55a8957efed9a52dfa28ee0d7280
tree12e5c191146b24614bae365a3fd3bc414c485607
parentc384cee14aa330ba2f5616fb821ba81f2ef42ccd
net: remove .ndo_change_proto_down

.ndo_change_proto_down was added seemingly to enable out-of-tree
implementations. Over 2.5yrs later we still have no real users
upstream. Hardwire the generic implementation for now, we can
revert once real users materialize. (rocker is a test vehicle,
not a user.)

We need to drop the optimization on the sysfs side, because
unlike ndos priv_flags will be changed at runtime, so we'd
need READ_ONCE/WRITE_ONCE everywhere..

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker_main.c
drivers/net/macvlan.c
drivers/net/vxlan.c
include/linux/netdevice.h
net/8021q/vlanproc.c
net/core/dev.c
net/core/net-sysfs.c
net/core/rtnetlink.c