diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-07-16 11:31:43 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-07-20 21:12:45 -0400 |
commit | c35f0b5937875df73c8ca6cdffe38c668ae2a686 (patch) | |
tree | e29c132a1f028f5144d4fb2ef963828c6e4bade3 /arch/x86/kernel | |
parent | 14123aec27a6ff419a88bd531ce58932fea3a945 (diff) | |
download | linux-rt-c35f0b5937875df73c8ca6cdffe38c668ae2a686.tar.gz |
rtnl: restore notifications for deleted interfaces
The commit 984ff7a3e060 is an upstream backport. In fact, it depends on
commit 395eea6ccf2b ("rtnetlink: delay RTM_DELLINK notification until after ndo_uninit()")
which has not been backported in 3.18.y.
Before commit 395eea6ccf2b, rollback_registered_many() uses rtmsg_ifinfo().
The call to this function is done with dev->reg_state set to
NETREG_UNREGISTERING, thus testing this reg_state in rtmsg_ifinfo() is
wrong.
This patch partially reverts commit 984ff7a3e060.
Fixes: 984ff7a3e060 ("rtnl/bond: don't send rtnl msg for unregistered iface")
Reported-by: Kristian Evensen <kristian.evensen@gmail.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions