[MACVLAN]: Prevent nesting macvlan devices
authorPatrick McHardy <kaber@trash.net>
Fri, 11 Jan 2008 06:39:28 +0000 (22:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jan 2008 06:39:28 +0000 (22:39 -0800)
commita6ca5f1dbe40470fcb1ecc921769d792a1e77ed9
treec74e49b849ff9806aa4349587c3623cb90ddf0e6
parent0fe1e567d0b4f6a98e94d3b9a40f41c801bd157f
[MACVLAN]: Prevent nesting macvlan devices

Don't allow to nest macvlan devices since it will cause lockdep
warnings and isn't really useful for anything.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c