projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proto-shell: Fix possible segfault
[project/netifd.git]
/
device.h
diff --git
a/device.h
b/device.h
index
37814c8
..
a6c131a
100644
(file)
--- a/
device.h
+++ b/
device.h
@@
-58,8
+58,6
@@
struct device_type {
struct list_head list;
const char *name;
struct list_head list;
const char *name;
- bool keep_link_status;
-
const struct uci_blob_param_list *config_params;
struct device *(*create)(const char *name, struct blob_attr *attr);
const struct uci_blob_param_list *config_params;
struct device *(*create)(const char *name, struct blob_attr *attr);
@@
-130,6
+128,7
@@
struct device_user {
struct device_settings {
unsigned int flags;
struct device_settings {
unsigned int flags;
+ unsigned int valid_flags;
unsigned int mtu;
unsigned int mtu6;
unsigned int txqueuelen;
unsigned int mtu;
unsigned int mtu6;
unsigned int txqueuelen;