From mboxrd@z Thu Jan 1 00:00:00 1970 From: nikolay@redhat.com Subject: [PATCH v2 0/2] bonding: couple of bug fixes Date: Wed, 12 Jun 2013 00:07:00 +0200 Message-ID: <1370988422-2035-1-git-send-email-nikolay@redhat.com> Cc: andy@greyhouse.net, davem@davemloft.net, fubar@us.ibm.com To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754979Ab3FKWJ7 (ORCPT ); Tue, 11 Jun 2013 18:09:59 -0400 Sender: netdev-owner@vger.kernel.org List-ID: From: Nikolay Aleksandrov Hello, Patch 01 resets the master's mac if the first enslave fails and the slave's mac was set to the master's prior. Patch 02 fixes a type bug of igmp_retrans (which is the counter of igmp_resend param and was silently not working if the value was >127) so it can go up to 255 (as per documentation). It also fixes two tricky race conditions which were hidden because of the previous bug. V2: Updated patch 02 commit message as per Jay's comment Best regards, Nikolay Aleksandrov Nikolay Aleksandrov (2): bonding: reset master mac on first enslave failure bonding: fix igmp_retrans type and two related races drivers/net/bonding/bond_main.c | 19 +++++++++++++++---- drivers/net/bonding/bonding.h | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) -- 1.8.1.4