mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
net: netlink: Remove the dump_cb_mutex field from struct netlink_sock
Commit 5fbf57a937
("net: netlink: remove the cb_mutex "injection" from
netlink core") has removed the usage of the 'dump_cb_mutex' field from the
struct netlink_sock.
Remove the field itself now. It saves a few bytes in the structure.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7d3aed652d
commit
18aaa82bd3
@ -41,7 +41,6 @@ struct netlink_sock {
|
||||
struct netlink_callback cb;
|
||||
struct mutex nl_cb_mutex;
|
||||
|
||||
struct mutex *dump_cb_mutex;
|
||||
void (*netlink_rcv)(struct sk_buff *skb);
|
||||
int (*netlink_bind)(struct net *net, int group);
|
||||
void (*netlink_unbind)(struct net *net, int group);
|
||||
|
Loading…
Reference in New Issue
Block a user