ibmvnic: Refresh device multicast list after reset

[ Upstream commit be32a24372 ]

It was observed that multicast packets were no longer received after
a device reset.  The fix is to resend the current multicast list to
the backing device after recovery.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Thomas Falcon 2019-06-07 16:03:54 -05:00 коммит произвёл Greg Kroah-Hartman
Родитель 7f0359b6bf
Коммит ae85248614
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -1489,6 +1489,9 @@ static int do_reset(struct ibmvnic_adapter *adapter,
return 0;
}
/* refresh device's multicast list */
ibmvnic_set_multi(netdev);
/* kick napi */
for (i = 0; i < adapter->req_rx_queues; i++)
napi_schedule(&adapter->napi[i]);