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-04 21:08:20 -07:00
2014-04-05 15:46:37 -07:00
2014-04-04 21:07:28 -07:00
2014-04-03 16:21:12 -07:00
2014-04-09 08:45:40 -07:00
2014-04-10 09:06:10 -07:00
2014-05-16 15:12:45 -04:00
2014-04-10 18:43:32 -07:00
2014-04-09 08:39:39 -07:00
2014-04-18 16:40:08 -07:00
2014-04-08 10:56:12 +02:00
2014-04-24 12:53:38 -07:00
2014-04-10 09:06:10 -07:00
2014-04-18 15:11:54 +01:00
2014-04-12 17:31:22 -07:00
2014-04-10 17:51:29 -04:00
2014-04-03 16:21:09 -07:00
2014-04-07 16:36:05 -07:00
2014-04-12 14:49:50 -07:00
2014-04-09 21:54:06 -06:00
2014-04-12 14:49:50 -07:00
2014-04-09 13:44:35 -07:00
2014-04-09 13:44:35 -07:00
2014-04-07 14:55:46 -07:00
2014-04-07 14:43:50 +02:00
2014-04-03 16:20:58 -07:00
2014-04-07 16:36:06 -07:00
2014-04-03 16:21:05 -07:00
2014-04-16 11:56:33 -07:00
2014-04-03 16:21:06 -07:00
2014-04-14 16:26:47 -04:00
2014-04-23 16:17:03 -04:00
2014-04-03 16:20:51 -07:00
2014-04-08 20:43:28 -04:00
2014-04-28 10:37:21 -04:00
2014-04-04 09:12:49 +02:00
2014-04-03 16:20:59 -07:00
2014-04-16 14:14:07 -07:00
2014-04-07 16:36:07 -07:00
2014-04-28 12:19:59 +02:00
2014-04-07 16:36:11 -07:00
2014-04-17 12:30:40 -07:00
2014-04-17 12:23:07 -07:00
2014-04-28 12:20:00 +02:00
2014-04-06 09:38:07 -07:00
2014-04-03 16:21:04 -07:00
2014-04-07 16:36:14 -07:00
2014-04-18 15:56:03 -04:00
2014-04-03 16:21:01 -07:00
2014-04-16 15:09:51 -04:00
2014-04-07 16:36:13 -07:00
2014-04-07 16:35:54 -07:00
2014-04-13 13:28:13 -07:00
2014-04-12 12:38:53 -07:00
2014-04-07 16:35:55 -07:00
2014-04-03 16:21:01 -07:00
2014-04-09 13:44:35 -07:00
2014-04-06 09:38:07 -07:00
2014-05-14 00:37:34 -04:00
2014-05-16 22:14:49 -04:00
2014-04-24 13:44:54 -04:00
2014-04-03 16:21:26 -07:00
2014-04-07 10:59:19 -07:00
2014-04-11 16:45:59 -07:00
2014-04-24 21:40:22 +01:00
2014-05-07 17:16:35 -04:00
2014-04-18 08:36:10 -05:00
2014-04-04 00:31:49 +01:00
2014-04-03 16:21:04 -07:00
2014-04-03 16:21:00 -07:00
2014-04-07 16:36:14 -07:00
2014-04-16 14:36:12 -04:00
2014-04-12 14:49:50 -07:00
2014-04-03 16:21:08 -07:00
2014-04-03 16:20:54 -07:00
2014-04-03 16:21:01 -07:00
2014-04-16 08:56:09 +02:00
2014-04-07 16:35:54 -07:00
2014-04-07 16:36:07 -07:00
2014-05-15 15:30:33 -04:00
2014-04-12 12:38:53 -07:00
2014-04-19 22:42:19 -07:00
2014-04-03 16:21:00 -07:00
2014-04-13 13:28:13 -07:00
2014-04-07 16:36:13 -07:00
2014-04-24 13:44:53 -04:00
2014-04-03 16:21:01 -07:00
2014-04-12 13:06:10 -07:00
2014-04-16 11:56:33 -07:00
2014-04-07 16:36:13 -07:00
2014-04-09 10:12:11 -04:00
2014-05-03 18:14:28 -04:00
2014-04-03 16:21:04 -07:00
2014-04-07 16:35:53 -07:00
2014-04-07 16:36:14 -07:00
2014-04-18 16:40:08 -07:00
2014-04-07 16:35:57 -07:00