[PATCH] lockdep: annotate vlan net device as being a special class
authorArjan van de Ven <arjan@linux.intel.com>
Mon, 3 Jul 2006 07:25:33 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 3 Jul 2006 22:27:10 +0000 (15:27 -0700)
commit5dd8d1e9eb8b51041505966fe96d081ecbe86efe
treeeba7299734a893016d4e91d92cb25974a626bc61
parent663d440eaa496db903cc58be04b9b602ba45e43b
[PATCH] lockdep: annotate vlan net device as being a special class

vlan network devices have devices nesting below it, and are a special
"super class" of normal network devices; split their locks off into a
separate class since they always nest.

[deweerdt@free.fr: fix possible null-pointer deref]
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/8021q/vlan.c