]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: fix crash while ethtool -t
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 6 Dec 2011 02:05:12 +0000 (02:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 18:21:48 +0000 (13:21 -0500)
commit656199c4c9a69a9cad15efce614cd9eb4021ffa2
treea9dbb0876b9c0b409c3ec0c2cf793cf962b38cda
parent7df8b5f63cad799c927684c5817c3972962f2157
bnx2x: fix crash while ethtool -t

commit 4445a53dc151b3d6d0d97c1361df4561065cc270  "bnx2x: Support
for byte queue limits" has introduced an asymmetry in usage of
netdev_tx_completed_queue and netdev_tx_sent_queue. Missing
call to netdev_tx_sent_queue causes the crash during ethtool -t.

The patch adds the missing call.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c