]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kill dev_ifsioc()"
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jan 2019 21:43:18 +0000 (22:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 18:19:31 +0000 (10:19 -0800)
commit80bddb2777eb1f593df7e9945deb6e63d8b47849
treebc49d021e90ae38e4ec4944a06fb415b4ae5d18f
parent354c2260cbe3d3b4e5d33a9d253e4f776fa1c4b1
Revert "kill dev_ifsioc()"

This reverts commit 067c472d4a17 ("kill dev_ifsioc()").

This wasn't really unused as implied by the original commit,
it still handles the copy to/from user differently, and the
commit thus caused issues such as
  https://bugzilla.kernel.org/show_bug.cgi?id=199469
and
  https://bugzilla.kernel.org/show_bug.cgi?id=202273

However, deviating from a strict revert, rename dev_ifsioc()
to compat_ifreq_ioctl() to be clearer as to its purpose and
add a comment.

Cc: stable@vger.kernel.org
Fixes: 067c472d4a17 ("kill dev_ifsioc()")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c