summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.ibm.com>2019-06-07 16:03:54 -0500
committerDavid S. Miller <davem@davemloft.net>2019-06-09 19:51:28 -0700
commitbe32a24372cf162e825332da1a7ccef058d4f20b (patch)
treec93abda046809cf0ce7a0deb22533da6024bebf7 /drivers/net
parent1f94608b0ce141be5286dde31270590bdf35b86a (diff)
downloadlinux-be32a24372cf162e825332da1a7ccef058d4f20b.tar.bz2
ibmvnic: Refresh device multicast list after reset
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/ibm/ibmvnic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index bc2a91205eec..9e9f4096db58 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -1845,6 +1845,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]);