Skip to content

Commit

Permalink
netlink: Rearrange netlink_kernel_cfg to save space on 64-bit.
Browse files Browse the repository at this point in the history
Suggested by Jan Engelhardt.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 23, 2012
1 parent 30099b2 commit c9d2ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c9d2ea9

Please sign in to comment.