-
- Downloads
net: bridge: move bridge ioctls out of .ndo_do_ioctl
Working towards obsoleting the .ndo_do_ioctl operation entirely, stop passing the SIOCBRADDIF/SIOCBRDELIF device ioctl commands into this callback. My first attempt was to add another ndo_siocbr() callback, but as there is only a single driver that takes these commands and there is already a hook mechanism to call directly into this driver, extend this hook instead, and use it for both the deviceless and the device specific ioctl commands. Cc: Roopa Prabhu <roopa@nvidia.com> Cc: Nikolay Aleksandrov <nikolay@nvidia.com> Cc: bridge@lists.linux-foundation.org Signed-off-by:Arnd Bergmann <arnd@arndb.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/if_bridge.h 6 additions, 1 deletioninclude/linux/if_bridge.h
- net/bridge/br.c 1 addition, 1 deletionnet/bridge/br.c
- net/bridge/br_device.c 0 additions, 1 deletionnet/bridge/br_device.c
- net/bridge/br_ioctl.c 3 additions, 12 deletionsnet/bridge/br_ioctl.c
- net/bridge/br_private.h 2 additions, 3 deletionsnet/bridge/br_private.h
- net/core/dev_ioctl.c 8 additions, 3 deletionsnet/core/dev_ioctl.c
- net/socket.c 23 additions, 10 deletionsnet/socket.c
Loading
Please register or sign in to comment