diff options
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | 2016-12-01 01:48:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-02 20:10:25 +0300 |
commit | 2219d5ed77e8bdc2ef1f0b79f34d2cc0be802b25 (patch) | |
tree | d61537ba3843dd29b6ee988f76ace4368adf8ee6 /net/packet/af_packet.c | |
parent | 151a14db228181fb49abaf83e13f3be58ec102c4 (diff) | |
download | linux-2219d5ed77e8bdc2ef1f0b79f34d2cc0be802b25.tar.xz |
net: ethernet: altera: TSE: do not use tx queue lock in tx completion handler
The driver already uses its private lock for synchronization between xmit
and xmit completion handler making the additional use of the xmit_lock
unnecessary.
Furthermore the driver does not set NETIF_F_LLTX resulting in xmit to be
called with the xmit_lock held and then taking the private lock while xmit
completion handler does the reverse, first take the private lock, then the
xmit_lock.
Fix these issues by not taking the xmit_lock in the tx completion handler.
Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions