Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9d2ea96 authored by David S. Miller's avatar David S. Miller
Browse files

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



Suggested by Jan Engelhardt.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30099b2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -183,10 +183,10 @@ extern void netlink_table_ungrab(void);
/* optional Netlink kernel configuration parameters */
/* optional Netlink kernel configuration parameters */
struct netlink_kernel_cfg {
struct netlink_kernel_cfg {
	unsigned int	groups;
	unsigned int	groups;
	unsigned int	flags;
	void		(*input)(struct sk_buff *skb);
	void		(*input)(struct sk_buff *skb);
	struct mutex	*cb_mutex;
	struct mutex	*cb_mutex;
	void		(*bind)(int group);
	void		(*bind)(int group);
	unsigned int	flags;
};
};


extern struct sock *__netlink_kernel_create(struct net *net, int unit,
extern struct sock *__netlink_kernel_create(struct net *net, int unit,