projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
device: Don't process link events anymore in device user specific callback handlers
[project/netifd.git]
/
system-linux.c
diff --git
a/system-linux.c
b/system-linux.c
index 611acb882d4db0fe2f4444f65217ba685d6d4721..4ccc9d251d15ccc9f34153cc59e8054200fba3b9 100644
(file)
--- a/
system-linux.c
+++ b/
system-linux.c
@@
-424,7
+424,7
@@
static int cb_rtnl_event(struct nl_msg *msg, void *arg)
goto out;
struct device *dev = device_get(nla_data(nla[IFLA_IFNAME]), false);
- if (!dev
|| dev->type->keep_link_status
)
+ if (!dev)
goto out;
if (!system_get_dev_sysctl("/sys/class/net/%s/carrier", dev->ifname, buf, sizeof(buf)))