projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30099b2
)
netlink: Rearrange netlink_kernel_cfg to save space on 64-bit.
author
David S. Miller
<davem@davemloft.net>
Sun, 23 Sep 2012 06:09:23 +0000
(
02:09
-0400)
committer
David S. Miller
<davem@davemloft.net>
Sun, 23 Sep 2012 06:09:23 +0000
(
02:09
-0400)
Suggested by Jan Engelhardt.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netlink.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/netlink.h
b/include/linux/netlink.h
index b3dc992fb25b833f12a76a94e9ff0f639885c613..f80c56ac4d82a822efe44f0dbbd87cfba819dd92 100644
(file)
--- a/
include/linux/netlink.h
+++ b/
include/linux/netlink.h
@@
-183,10
+183,10
@@
extern void netlink_table_ungrab(void);
/* optional Netlink kernel configuration parameters */
struct netlink_kernel_cfg {
unsigned int groups;
+ unsigned int flags;
void (*input)(struct sk_buff *skb);
struct mutex *cb_mutex;
void (*bind)(int group);
- unsigned int flags;
};
extern struct sock *__netlink_kernel_create(struct net *net, int unit,