ibmvnic: Send gratuitous arp on reset
authorJohn Allen <jallen@linux.vnet.ibm.com>
Fri, 26 May 2017 14:30:25 +0000 (10:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:32:44 +0000 (15:32 -0400)
Send gratuitous arp after any reset.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c

index 1f7cf6f..465a8fa 100644 (file)
@@ -1273,6 +1273,7 @@ static int do_reset(struct ibmvnic_adapter *adapter,
        for (i = 0; i < adapter->req_rx_queues; i++)
                napi_schedule(&adapter->napi[i]);
 
+       netdev_notify_peers(netdev);
        return 0;
 }