net: bonding: move ioctl handling to private ndo operation
authorArnd Bergmann <arnd@arndb.de>
Tue, 27 Jul 2021 13:45:17 +0000 (15:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 19:11:45 +0000 (20:11 +0100)
commit3d9d00bd1885afa6b2c766cf9bab7b54b1a951ed
treec0ee96c9d493d8363042d29f6e421891472072c3
parentad2f99aedf8fa77f3ae647153284fa63c43d3055
net: bonding: move ioctl handling to private ndo operation

All other user triggered operations are gone from ndo_ioctl, so move
the SIOCBOND family into a custom operation as well.

The .ndo_ioctl() helper is no longer called by the dev_ioctl.c code now,
but there are still a few definitions in obsolete wireless drivers as well
as the appletalk and ieee802154 layers to call SIOCSIFADDR/SIOCGIFADDR
helpers from inside the kernel.

Cc: Jay Vosburgh <j.vosburgh@gmail.com>
Cc: Veaceslav Falico <vfalico@gmail.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/netdevices.rst
drivers/net/bonding/bond_main.c
include/linux/netdevice.h
net/core/dev_ioctl.c