提交 c9d2ea96 编写于 作者: D David S. Miller

netlink: Rearrange netlink_kernel_cfg to save space on 64-bit.

Suggested by Jan Engelhardt.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 30099b2e
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册