diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-07-27 15:45:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-27 21:11:45 +0200 |
commit | 3d9d00bd1885afa6b2c766cf9bab7b54b1a951ed (patch) | |
tree | c0ee96c9d493d8363042d29f6e421891472072c3 /Documentation/networking/netdevices.rst | |
parent | net: bridge: move bridge ioctls out of .ndo_do_ioctl (diff) | |
download | linux-3d9d00bd1885afa6b2c766cf9bab7b54b1a951ed.tar.xz linux-3d9d00bd1885afa6b2c766cf9bab7b54b1a951ed.zip |
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>
Diffstat (limited to 'Documentation/networking/netdevices.rst')
-rw-r--r-- | Documentation/networking/netdevices.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/networking/netdevices.rst b/Documentation/networking/netdevices.rst index 3c42b0b0be93..9e4cccb90b87 100644 --- a/Documentation/networking/netdevices.rst +++ b/Documentation/networking/netdevices.rst @@ -222,6 +222,17 @@ ndo_do_ioctl: Synchronization: rtnl_lock() semaphore. Context: process + This is only called by network subsystems internally, + not by user space calling ioctl as it was in before + linux-5.14. + +ndo_siocbond: + Synchronization: rtnl_lock() semaphore. + Context: process + + Used by the bonding driver for the SIOCBOND family of + ioctl commands. + ndo_siocwandev: Synchronization: rtnl_lock() semaphore. Context: process |