]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit347c8ab1c80e87b7db246ba8a73881caee9061e9
treeeba7299734a893016d4e91d92cb25974a626bc61
parent4aa94a71ce9e911fed31a91068997c31fc189e4d
[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