mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
As we move away from rtnl_lock for queue ops, introduce per-netdev_nl_sock lock. Signed-off-by: Stanislav Fomichev <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
13 lines
239 B
C
13 lines
239 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NET_NETDEV_NETLINK_H
|
|
#define __NET_NETDEV_NETLINK_H
|
|
|
|
#include <linux/list.h>
|
|
|
|
struct netdev_nl_sock {
|
|
struct mutex lock;
|
|
struct list_head bindings;
|
|
};
|
|
|
|
#endif /* __NET_NETDEV_NETLINK_H */
|