]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 18:19:31 +0000 (10:19 -0800)
commit03d5d7159c66c7b5a447c88fd6badb9eb6d26473
tree40b3d6fba724dbe524a484986727d2619427c70e
parentfb9e80f9fa3e1c7ae3eebcf9c7818482a7dff1b3
net: socket: make bond ioctls go through compat_ifreq_ioctl()

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