From 5a4eb870afc69e9fa93fdccb8a42f75e8e357f4e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 20 Oct 2014 22:07:18 +0200 Subject: device: make link status detection optional for vlan devices Fixes a race condition that triggers endless link loss / detect calls when VLAN devices are created. Signed-off-by: Felix Fietkau --- macvlan.c | 1 + 1 file changed, 1 insertion(+) (limited to 'macvlan.c') diff --git a/macvlan.c b/macvlan.c index e5a4891..019a7ff 100644 --- a/macvlan.c +++ b/macvlan.c @@ -258,6 +258,7 @@ macvlan_create(const char *name, struct blob_attr *attr) const struct device_type macvlan_device_type = { .name = "MAC VLAN", .config_params = &macvlan_attr_list, + .keep_link_status = true, .create = macvlan_create, .config_init = macvlan_config_init, -- cgit v1.2.1