Re: [PATCH v2] bonding: fix length of actor system

2018-10-29 Thread David Miller
From: Tobias Jungel Date: Sun, 28 Oct 2018 12:54:10 +0100 > 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.

[PATCH v2] bonding: fix length of actor system

2018-10-28 Thread Tobias Jungel
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")