diff options
author | Tobias Jungel <tobias.jungel@gmail.com> | 2018-10-28 12:54:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-30 04:39:38 +0100 |
commit | 414dd6fb9a1a1b59983aea7bf0f79f0085ecc5b8 (patch) | |
tree | c7d8e8df59ca66b115f660a7d59441f39a73c802 /Documentation | |
parent | ipv4/igmp: fix v1/v2 switchback timeout based on rfc3376, 8.12 (diff) | |
download | linux-414dd6fb9a1a1b59983aea7bf0f79f0085ecc5b8.tar.xz linux-414dd6fb9a1a1b59983aea7bf0f79f0085ecc5b8.zip |
bonding: fix length of actor system
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions