Re: [PATCH net] qeth: don't query for info if hardware not ready.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Frank Blaschka <blaschka@xxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Sep 2014 08:20:17 +0200

> From: Eugene Crosser <Eugene.Crosser@xxxxxxxxxx>
> 
> When qeth device is queried for ethtool data, hardware operation
> is performed to extract the necessary information from the card.
> If the card is not online at the moment (e.g. it is undergoing
> recovery), this operation produces undesired effects like
> temporarily freezing the system. This patch prevents execution
> of the hardware query operation when the card is not online.
> In such case, ioctl() operation returns error with errno ENODEV.
> 
> Reviewed-by: Ursula Braun <ursula.braun@xxxxxxxxxx>
> Signed-off-by: Eugene Crosser <Eugene.Crosser@xxxxxxxxxx>
> Signed-off-by: Frank Blaschka <blaschka@xxxxxxxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux