Skip to content
Commit 4ad41c1e authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 93b5097f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment