diff options
Diffstat (limited to 'net/core/devmem.h')
| -rw-r--r-- | net/core/devmem.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/net/core/devmem.h b/net/core/devmem.h index 7fc158d52729..a1aabc9685cc 100644 --- a/net/core/devmem.h +++ b/net/core/devmem.h @@ -20,6 +20,8 @@ struct net_devmem_dmabuf_binding {  	struct sg_table *sgt;  	struct net_device *dev;  	struct gen_pool *chunk_pool; +	/* Protect dev */ +	struct mutex lock;  	/* The user holds a ref (via the netlink API) for as long as they want  	 * the binding to remain alive. Each page pool using this binding holds | 
