summaryrefslogtreecommitdiff
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2014-03-25 17:34:20 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:22 (GMT)
commit3db4152cc0cb16e62d4d8b07342998d1f5c37d3a (patch)
treeb9884096ea7c5050cc63280310033e27dadb2cb2 /drivers/net/loopback.c
parent750fb468aae95be3c3afcb7183b5098d3a5054a6 (diff)
downloadlinux-fsl-qoriq-3db4152cc0cb16e62d4d8b07342998d1f5c37d3a.tar.xz
net: gianfar: do not disable interrupts
each per-queue lock is taken with spin_lock_irqsave() except in the case where all of them are taken for some kind of serialisation. As an optimisation local_irq_save() is used so that lock_tx_qs() and lock_rx_qs() can use just the spin_lock() variant instead. On RT local_irq_save() behaves differently so we use the nort() variant. Lockdep screems easily by "ethtool -K eth0 rx off tx off" What remains is missing lockdep annotation that makes lockdep think lock_tx_qs() may cause a dead lock. Cc: stable-rt@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions