]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "rtnetlink: Do not generate notifications for CHANGEADDR event"
authorDavid Ahern <dsahern@gmail.com>
Wed, 19 Jul 2017 17:22:40 +0000 (10:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 05:29:41 +0000 (22:29 -0700)
commiteec7344bd21d86f850950a319cc715086297f702
treea1263e3de4222071f8fd4d747b416e7a2a9bacb7
parent496241fa07616699fa10f3776813e885c7d6a08d
Revert "rtnetlink: Do not generate notifications for CHANGEADDR event"

This reverts commit 1010501f0c5cd7ba1b082a0d8fb645aaec1260e4.

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 <yaroslav.isakov@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c