Vlad Yasevich
4085ebe8c3
net: Find the nesting level of a given device by type.
...
Multiple devices in the kernel can be stacked/nested and they
need to know their nesting level for the purposes of lockdep.
This patch provides a generic function that determines a nesting
level of a particular device by its type (ex: vlan, macvlan, etc).
We only care about nesting of the same type of devices.
For example:
eth0 <- vlan0.10 <- macvlan0 <- vlan1.20
The nesting level of vlan1.20 would be 1, since there is another vlan
in the stack under it.
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-05-16 22:14:49 -04:00
..
2014-04-11 14:14:57 -07:00
2014-01-16 11:31:58 -08:00
2014-04-18 17:48:30 -04:00
2014-02-14 16:18:32 -05:00
2014-04-11 16:15:36 -04:00
2014-04-11 16:15:36 -04:00
2014-05-15 20:23:47 +02:00
2014-04-25 09:47:15 +03:00
2014-05-05 16:05:43 +02:00
2014-04-11 16:15:36 -04:00
2014-04-24 13:44:54 -04:00
2014-05-05 15:17:02 -07:00
2014-05-16 22:14:49 -04:00
2014-04-24 13:44:54 -04:00
2014-04-15 12:58:34 -04:00
2014-04-24 13:44:54 -04:00
2013-12-06 12:37:57 -05:00
2014-05-16 16:56:33 -04:00
2014-01-16 15:30:31 -08:00
2014-03-27 15:28:06 -04:00
2014-04-01 16:25:51 -04:00
2014-05-16 16:58:41 -04:00
2014-05-16 16:50:30 -04:00
2014-02-12 19:26:32 -05:00
2014-01-18 23:04:16 -08:00
2014-05-14 15:38:39 -04:00
2014-04-11 16:15:36 -04:00
2014-04-15 12:58:34 -04:00
2013-09-23 16:52:45 -04:00
2014-01-28 18:01:32 -08:00
2014-05-14 15:48:38 +02:00
2014-04-07 13:18:44 -04:00
2013-10-19 19:36:19 -04:00
2014-05-04 15:14:08 +02:00
2013-12-06 12:37:56 -05:00
2014-04-24 13:44:54 -04:00
2014-04-11 16:15:36 -04:00
2014-04-11 16:15:36 -04:00
2014-04-15 13:47:15 -04:00
2014-04-24 13:44:54 -04:00
2014-04-24 13:44:54 -04:00
2014-04-11 16:15:36 -04:00
2014-02-04 21:58:16 +01:00
2014-04-11 16:15:36 -04:00
2014-05-16 15:24:47 -04:00
2014-05-04 19:41:45 -04:00
2014-04-27 23:41:14 -04:00
2014-04-12 17:31:22 -07:00
2014-04-24 13:44:54 -04:00
2014-04-11 16:15:36 -04:00
2014-05-05 13:13:50 -04:00
2013-11-21 13:09:42 -05:00
2014-05-05 15:14:57 +02:00
2014-04-11 16:15:36 -04:00
2014-04-24 13:44:54 -04:00
2014-03-06 16:30:45 +01:00
2014-04-03 13:05:42 -07:00
2014-01-15 15:36:38 -08:00
2014-04-16 15:15:05 -04:00
2013-10-07 15:57:56 -04:00