net: socket: make bond ioctls go through compat_ifreq_ioctl()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jan 2019 21:43:20 +0000 (22:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:59 +0000 (10:08 +0100)
commit7aab1e6d9edb71f4ba2969de4d8ae17e887b8126
treedc039d765137cc31c45f9025e56ec6f6acfbb08b
parente37c96c11175dec4f1b49b25180097ecd80c8c8e
net: socket: make bond ioctls go through compat_ifreq_ioctl()

[ Upstream commit 98406133dd9cb9f195676eab540c270dceca879a ]

Same story as before, these use struct ifreq and thus need
to be read with the shorter version to not cause faults.

Cc: stable@vger.kernel.org
Fixes: f92d4fc95341 ("kill bond_ioctl()")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/socket.c