Skip to content

Commit 8393597

Browse files
Lijun Pankuba-moo
authored andcommitted
ibmvnic: fix call_netdevice_notifiers in do_reset
When netdev_notify_peers was substituted in commit 986103e ("net/ibmvnic: Fix RTNL deadlock during device reset"), call_netdevice_notifiers(NETDEV_RESEND_IGMP, dev) was missed. Fix it now. Fixes: 986103e ("net/ibmvnic: Fix RTNL deadlock during device reset") Signed-off-by: Lijun Pan <ljp@linux.ibm.com> Reviewed-by: Dany Madden <drt@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 5aac039 commit 8393597

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/net/ethernet/ibm/ibmvnic.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2074,8 +2074,10 @@ static int do_reset(struct ibmvnic_adapter *adapter,
20742074
for (i = 0; i < adapter->req_rx_queues; i++)
20752075
napi_schedule(&adapter->napi[i]);
20762076

2077-
if (adapter->reset_reason != VNIC_RESET_FAILOVER)
2077+
if (adapter->reset_reason != VNIC_RESET_FAILOVER) {
20782078
call_netdevice_notifiers(NETDEV_NOTIFY_PEERS, netdev);
2079+
call_netdevice_notifiers(NETDEV_RESEND_IGMP, netdev);
2080+
}
20792081

20802082
rc = 0;
20812083

0 commit comments

Comments
 (0)