commit | d8498088cf466483093c9a29121e3833e7923287 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Jun 05 10:22:15 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 05 15:36:54 2014 -0700 |
tree | 04e2c004671adb5d276b7c6d6f7d706b0f889c75 | |
parent | 6934e79ed1221a38f20704bf52ed588a16985fc0 [diff] |
net: systemport: fix transmit locking scheme Our transmit locking scheme did not account for the TX ring full interrupt. If a TX ring full interrupt fires while we are attempting to transmit, we will cause a deadlock to occur. Fix this by making sure that we properly disable interrupts while acquiring the spinlock. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>