bonding: quit messing with IOCTL
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 3 Sep 2016 23:37:25 +0000 (19:37 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 28 Sep 2016 01:15:21 +0000 (21:15 -0400)
commit4ad41c1e2616a64c9e789d7069b1cb3402d2af3a
treec73a6f76a7eb2243ef1304bfaf2b545d8e31e75e
parent93b5097fe5b47d536b560fce14f4def3d1866121
bonding: quit messing with IOCTL

The only remaining users are issuing SIOCGMIIPHY and SIOCGMIIREG,
neither of which deals with userland pointers.  Simply calling
->ndo_do_ioctl() is fine; no messing with set_fs() is needed.
It used to mess with SIOCETHTOOL, which would've needed set_fs(),
but that has been killed in "[NET] ethtool ops are the only way"
9 years ago...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/bonding/bond_main.c
include/net/bonding.h