diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-01-26 00:43:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 21:19:31 +0300 |
commit | c6c9fee35dc27362b7bac34b2fc9f5b8ace2e22c (patch) | |
tree | f21b9ab160102971f554119849f23ee8cba11af6 /drivers/net/ethernet/freescale | |
parent | 37ac39bdddc528c998a9f36db36937de923fdf2a (diff) | |
download | linux-c6c9fee35dc27362b7bac34b2fc9f5b8ace2e22c.tar.xz |
net: socket: fix SIOCGIFNAME in compat
As reported by Robert O'Callahan in
https://bugzilla.kernel.org/show_bug.cgi?id=202273
reverting the previous changes in this area broke
the SIOCGIFNAME ioctl in compat again (I'd previously
fixed it after his previous report of breakage in
https://bugzilla.kernel.org/show_bug.cgi?id=199469).
This is obviously because I fixed SIOCGIFNAME more or
less by accident.
Fix it explicitly now by making it pass through the
restored compat translation code.
Cc: stable@vger.kernel.org
Fixes: 4cf808e7ac32 ("kill dev_ifname32()")
Reported-by: Robert O'Callahan <robert@ocallahan.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions