]> 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)
commitcac4f73cd5ed2b3e867128020e8c8f54cfecf530
treebc49d021e90ae38e4ec4944a06fb415b4ae5d18f
parentc9e45ef69538924e0f3f2721314905032ffcb7ec
Revert "kill dev_ifsioc()"

This reverts commit 343632d0403b ("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: 343632d0403b ("kill dev_ifsioc()")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c