diff options
author | David S. Miller <davem@davemloft.net> | 2019-01-30 21:19:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 21:19:31 +0300 |
commit | 794827f3ea9ddc53ea900395953381a4252c7cb8 (patch) | |
tree | 40b3d6fba724dbe524a484986727d2619427c70e /drivers/net/ethernet | |
parent | 62967898789dc1f09a06e59fa85ae2c5ca4dc2da (diff) | |
parent | 98406133dd9cb9f195676eab540c270dceca879a (diff) | |
download | linux-794827f3ea9ddc53ea900395953381a4252c7cb8.tar.xz |
Merge branch 'net-various-compat-ioctl-fixes'
Johannes Berg says:
====================
various compat ioctl fixes
Back a long time ago, I already fixed a few of these by passing
the size of the struct ifreq to do_sock_ioctl(). However, Robert
found more cases, and now it won't be as simple because we'd have
to pass that down all the way to e.g. bond_do_ioctl() which isn't
really feasible.
Therefore, restore the old code.
While looking at why SIOCGIFNAME was broken, I realized that Al
had removed that case - which had been handled in an explicit
separate function - as well, and looking through his work at the
time I saw that bond ioctls were also affected by the erroneous
removal.
I've restored SIOCGIFNAME and bond ioctls by going through the
(now renamed) dev_ifsioc() instead of reintroducing their own
helper functions, which I hope is correct but have only tested
with SIOCGIFNAME.
====================
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions