projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e3dd0
)
[GENETLINK]: Fix misplaced command flags.
author
Jamal Hadi Salim
<hadi@cyberus.ca>
Thu, 7 Dec 2006 04:06:25 +0000
(20:06 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 7 Dec 2006 04:06:25 +0000
(20:06 -0800)
The command flags for dump and do were swapped..
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/genetlink.c
patch
|
blob
|
history
diff --git
a/net/netlink/genetlink.c
b/net/netlink/genetlink.c
index
b5df749
..
548e4e6
100644
(file)
--- a/
net/netlink/genetlink.c
+++ b/
net/netlink/genetlink.c
@@
-144,9
+144,9
@@
int genl_register_ops(struct genl_family *family, struct genl_ops *ops)
}
if (ops->dumpit)
- ops->flags |= GENL_CMD_CAP_DO;
- if (ops->doit)
ops->flags |= GENL_CMD_CAP_DUMP;
+ if (ops->doit)
+ ops->flags |= GENL_CMD_CAP_DO;
if (ops->policy)
ops->flags |= GENL_CMD_CAP_HASPOL;