myri10ge: ensure tx queues remain stopped
authorJon Mason <mason@myri.com>
Mon, 27 Jun 2011 05:05:00 +0000 (05:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2011 13:02:04 +0000 (06:02 -0700)
commit3b20b2dc5f713aa7eca20a8ff942292974a1cc94
tree90cf504467ec9b5b1af7748704a966d8f06008be
parent81399ec683632b85863b093f4fffe2b4511e49e6
myri10ge: ensure tx queues remain stopped

Ensure that our tx queues remain stopped when we stop them in
myri10ge_close().  Not doing so can potentially lead to traffic being
transmitted when the interface is removed, which can lead to NULL
pointer dereferences.

Signed-off-by: Jon Mason <mason@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/myri10ge/myri10ge.c