ibmvnic: Refresh device multicast list after reset
authorThomas Falcon <tlfalcon@linux.ibm.com>
Fri, 7 Jun 2019 21:03:54 +0000 (16:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 02:51:28 +0000 (19:51 -0700)
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>
drivers/net/ethernet/ibm/ibmvnic.c

index bc2a91205eeca15e53bfd70bd816c50714541b41..9e9f4096db58274749b58b8527cb94b4570ff04f 100644 (file)
@@ -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]);