]> err.no Git - linux-2.6/commit
[NETROM]: Fix locking order when establishing a NETROM circuit.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 10 Jul 2006 23:23:21 +0000 (16:23 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 12 Jul 2006 20:58:43 +0000 (13:58 -0700)
commit5cc29e3bea77092c48e5c71d792c7461e6a6c4cf
treec72c228a673d61f11e5782d564b912eabda09a64
parent95ff9f4d3cc72b62b76498290d00d129e1e62545
[NETROM]: Fix locking order when establishing a NETROM circuit.

When establishing a new circuit in nr_rx_frame the locks are taken in
a different order than in the rest of the stack.  This should be
harmless but triggers lockdep.  Either way, reordering the code a
little solves the issue.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c