Skip to content
Snippets Groups Projects
Commit 80584fc8 authored by Johannes Berg's avatar Johannes Berg Committed by 谢秀奇
Browse files

net: socket: make bond ioctls go through compat_ifreq_ioctl()


mainline inclusion
from mainline-5.0
commit 98406133
category: bugfix
bugzilla: 9397
CVE: NA

-------------------------------------------------

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: f92d4fc9 ("kill bond_ioctl()")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarZhiqiang Liu <liuzhiqiang26@huawei.com>
Reviewed-by: default avatarMao Wenan <maowenan@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 5e86bf8c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment