diff options
author | Thomas Falcon <tlfalcon@linux.ibm.com> | 2019-06-07 16:03:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-09 19:51:28 -0700 |
commit | be32a24372cf162e825332da1a7ccef058d4f20b (patch) | |
tree | c93abda046809cf0ce7a0deb22533da6024bebf7 /drivers/net | |
parent | 1f94608b0ce141be5286dde31270590bdf35b86a (diff) |
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.c | 3 |
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]); |