]> Git Repo - linux.git/commit
ppp: set qdisc_tx_busylock to avoid LOCKDEP splat
authorEric Dumazet <[email protected]>
Tue, 19 Feb 2013 18:42:03 +0000 (10:42 -0800)
committerDavid S. Miller <[email protected]>
Tue, 19 Feb 2013 19:33:55 +0000 (14:33 -0500)
commit303c07db487be59ae9fda10600ea65ca11c21497
tree23a66e53bed3b6f8093d815890388b9057760bd9
parent7cb08d7f3a5ea6131f4f243c2080530ac41cb293
ppp: set qdisc_tx_busylock to avoid LOCKDEP splat

If a qdisc is installed on a ppp device, its possible to get
a lockdep splat under stress, because nested dev_queue_xmit() can
lock busylock a second time (on a different device, so its a false
positive)

Avoid this problem using a distinct lock_class_key for ppp
devices.

Reported-by: Yanko Kaneti <[email protected]>
Tested-by: Yanko Kaneti <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ppp/ppp_generic.c
This page took 0.053247 seconds and 4 git commands to generate.