commit | e0a4b99773d3d8d3fb40087805f8fd858a23e582 | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Fri Feb 28 18:02:10 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 29 21:37:03 2020 -0800 |
tree | b0be89db312dca6289579c56a8259177aa1c2c6b | |
parent | 81390d0c4e56ac7752c97d7e8209357673d1a8ab [diff] |
hsr: use upper/lower device infrastructure netdev_upper_dev_link() is useful to manage lower/upper interfaces. And this function internally validates looping, maximum depth. All or most virtual interfaces that could have a real interface (e.g. macsec, macvlan, ipvlan etc.) use lower/upper infrastructure. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>