summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorTobias Jungel <tobias.jungel@gmail.com>2018-10-28 12:54:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:24 +0200
commit8bddcd242a8b1ce9f5b16c84e06a68581960bba7 (patch)
treee82f66cde1f2f5b475b68d7b32c30debca9a8aca /scripts/patch-kernel
parent5a257454a7f690343b62ca5cf3e316a699a3a7ed (diff)
bonding: fix length of actor system
commit 414dd6fb9a1a1b59983aea7bf0f79f0085ecc5b8 upstream. The attribute IFLA_BOND_AD_ACTOR_SYSTEM is sent to user space having the length of sizeof(bond->params.ad_actor_system) which is 8 byte. This patch aligns the length to ETH_ALEN to have the same MAC address exposed as using sysfs. Fixes: f87fda00b6ed2 ("bonding: prevent out of bound accesses") Signed-off-by: Tobias Jungel <tobias.jungel@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions