]> asedeno.scripts.mit.edu Git - linux.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)
commit37ac39bdddc528c998a9f36db36937de923fdf2a
treebc49d021e90ae38e4ec4944a06fb415b4ae5d18f
parent63ff03ab786ab1bc6cca01d48eacd22c95b9b3eb
Revert "kill dev_ifsioc()"

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