[PATCH net] ibmvnic: Harden device login requests

Thomas Falcon tlfalcon at linux.ibm.com
Tue Jun 16 00:52:16 AEST 2020


On 6/12/20 4:10 PM, David Miller wrote:
> 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.

Oops, sending a v2 soon.

Thanks,

Tom



More information about the Linuxppc-dev mailing list