From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2] bonding: fix length of actor system Date: Mon, 29 Oct 2018 20:41:12 -0700 (PDT) Message-ID: <20181029.204112.649732479170655463.davem@davemloft.net> References: <386.1540680344@nyx> <9e78727aaee4a775dbe3a4a9942a733a14f8a608.camel@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jay.vosburgh@canonical.com, vfalico@gmail.com, andy@greyhouse.net, edumazet@google.com, netdev@vger.kernel.org To: tobias.jungel@gmail.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:45324 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725969AbeJ3Mc4 (ORCPT ); Tue, 30 Oct 2018 08:32:56 -0400 In-Reply-To: <9e78727aaee4a775dbe3a4a9942a733a14f8a608.camel@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: 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. > > Fixes: f87fda00b6ed2 ("bonding: prevent out of bound accesses") > Please do not put empty lines between "Fixes:" and other tags, keep all the tags together in one uninterrupted group. > Signed-off-by: Tobias Jungel Applied and queued up for -stable, thank you.