diff options
| author | Tobias Jungel <tobias.jungel@gmail.com> | 2018-10-28 12:54:10 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-04 14:50:52 +0100 |
| commit | 655b0860ca7e03297bfeb75209fb6393f2656a2f (patch) | |
| tree | 501bf9903edb4c2018b4f718f5e3ed98d104d430 /net/openvswitch | |
| parent | 26ab2eb87000532dc31a14210e85f5f4efeeab17 (diff) | |
bonding: fix length of actor system
[ Upstream commit 414dd6fb9a1a1b59983aea7bf0f79f0085ecc5b8 ]
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 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions
