From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:50532 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752612AbdHHX32 (ORCPT ); Tue, 8 Aug 2017 19:29:28 -0400 Subject: Patch "Revert "rtnetlink: Do not generate notifications for CHANGEADDR event"" has been added to the 4.12-stable tree To: dsahern@gmail.com, davem@davemloft.net, gregkh@linuxfoundation.org, yaroslav.isakov@gmail.com Cc: , From: Date: Tue, 08 Aug 2017 16:29:21 -0700 Message-ID: <150223496123379@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled Revert "rtnetlink: Do not generate notifications for CHANGEADDR event" to the 4.12-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-rtnetlink-do-not-generate-notifications-for-changeaddr-event.patch and it can be found in the queue-4.12 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From foo@baz Tue Aug 8 16:27:29 PDT 2017 From: David Ahern Date: Wed, 19 Jul 2017 10:22:40 -0700 Subject: Revert "rtnetlink: Do not generate notifications for CHANGEADDR event" From: David Ahern [ Upstream commit 3753654e541938717b13f2b25791c3171a3a06aa ] This reverts commit cd8966e75ed3c6b41a37047a904617bc44fa481f. The duplicate CHANGEADDR event message is sent regardless of link status whereas the setlink changes only generate a notification when the link is up. Not sending a notification when the link is down breaks dhcpcd which only processes hwaddr changes when the link is down. Fixes reported regression: https://bugzilla.kernel.org/show_bug.cgi?id=196355 Reported-by: Yaroslav Isakov Signed-off-by: David Ahern Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/core/rtnetlink.c | 1 + 1 file changed, 1 insertion(+) --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -4165,6 +4165,7 @@ static int rtnetlink_event(struct notifi switch (event) { case NETDEV_REBOOT: + case NETDEV_CHANGEADDR: case NETDEV_CHANGENAME: case NETDEV_FEAT_CHANGE: case NETDEV_BONDING_FAILOVER: Patches currently in stable-queue which might be from dsahern@gmail.com are queue-4.12/rtnetlink-allocate-more-memory-for-dev_set_mac_address.patch queue-4.12/revert-rtnetlink-do-not-generate-notifications-for-changeaddr-event.patch