forked from mirrors/linux
		
	 10eef096be
			
		
	
	
		10eef096be
		
	
	
	
	
		
			
			As we move away from rtnl_lock for queue ops, introduce per-netdev_nl_sock lock. Signed-off-by: Stanislav Fomichev <sdf@fomichev.me> Reviewed-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/20250311144026.4154277-3-sdf@fomichev.me Signed-off-by: Jakub Kicinski <kuba@kernel.org>
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			239 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 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 */
 |