summaryrefslogtreecommitdiff
path: root/include/linux/netlink.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-09-23 10:09:23 +0400
committerDavid S. Miller <davem@davemloft.net>2012-09-23 10:09:23 +0400
commitc9d2ea96ca3bbc85264803ff6bd66eb3bbefdb77 (patch)
tree5f18cdfb66d52dc952f141c7e4bd216fb4573a0d /include/linux/netlink.h
parent30099b2e9b3a1f88250d31472edf2b6d6f0a7d8b (diff)
downloadlinux-c9d2ea96ca3bbc85264803ff6bd66eb3bbefdb77.tar.xz
netlink: Rearrange netlink_kernel_cfg to save space on 64-bit.
Suggested by Jan Engelhardt. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r--include/linux/netlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index b3dc992fb25b..f80c56ac4d82 100644
--- 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,