be2net: Bug fix to avoid soft lockup in loopback test.
authorSarveshwar Bandi <sarveshwarb@serverengines.com>
Wed, 23 Dec 2009 04:40:36 +0000 (04:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2009 04:58:13 +0000 (20:58 -0800)
commitd7b901418250f00eaaa18f9135d09ba61b72a5bc
tree71d3feac4abb7894f04f83a727e505b317493221
parent1242b6f31e1d0688f1eb1dc78036dbd975bd6140
be2net: Bug fix to avoid soft lockup in loopback test.

This change ensures that loopback test command gives up after 4 seconds when
the hardware is not responsive. This could happen if the ports are connected
properly in loopback mode.

Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c