projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tipc: add bearer get/dump to new netlink api
[firefly-linux-kernel-4.4.55.git]
/
net
/
tipc
/
netlink.c
diff --git
a/net/tipc/netlink.c
b/net/tipc/netlink.c
index af506ae0a1295b60788738f90e25a430c66697a9..0c00422512fa0c31dd724b667e2d2b575ee34881 100644
(file)
--- a/
net/tipc/netlink.c
+++ b/
net/tipc/netlink.c
@@
-112,6
+112,12
@@
static const struct genl_ops tipc_genl_v2_ops[] = {
.cmd = TIPC_NL_BEARER_ENABLE,
.doit = tipc_nl_bearer_enable,
.policy = tipc_nl_policy,
+ },
+ {
+ .cmd = TIPC_NL_BEARER_GET,
+ .doit = tipc_nl_bearer_get,
+ .dumpit = tipc_nl_bearer_dump,
+ .policy = tipc_nl_policy,
}
};