diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-30 19:31:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-01-24 19:13:45 -0500 |
commit | bf4405737f9f85a06db2b0ce5d76a818b61992e2 (patch) | |
tree | cea62cbe494ab18cc187f590aefe66f3914abfba /net/wireless | |
parent | ca25c30040f93c127ff1651aa636c0174f1e0cdb (diff) | |
download | linux-bf4405737f9f85a06db2b0ce5d76a818b61992e2.tar.bz2 |
kill dev_ifsioc()
Once upon a time net/socket.c:dev_ifsioc() used to handle SIOCSHWTSTAMP and
SIOCSIFMAP. These have different native and compat layout, so the format
conversion had been needed. In 2009 these two cases had been taken out,
turning the rest into a convoluted way to calling sock_do_ioctl(). We copy
compat structure into native one, call sock_do_ioctl() on that and copy
the result back for the in/out ioctls. No layout transformation anywhere,
so we might as well just call sock_do_ioctl() and skip all the headache with
copying.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions