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
611acb8
..
4ccc9d2
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)))