]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3a3fa4630ae4a36d6f8f34a85ed2e68f422cc16
treec0ee96c9d493d8363042d29f6e421891472072c3
parent9c5473136e3e2b7d2b988ba5c22c4b0ef1de2867
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