[PATCH net] ibmvnic: Harden device login requests
David Miller
davem at davemloft.net
Sat Jun 13 07:10:40 AEST 2020
From: Thomas Falcon <tlfalcon at linux.ibm.com>
Date: Fri, 12 Jun 2020 13:31:39 -0500
> @@ -841,13 +841,14 @@ static int ibmvnic_login(struct net_device *netdev)
> {
> struct ibmvnic_adapter *adapter = netdev_priv(netdev);
> unsigned long timeout = msecs_to_jiffies(30000);
> + int retries = 10;
> int retry_count = 0;
> bool retry;
> int rc;
Reverse christmas tree, please.
More information about the Linuxppc-dev
mailing list