Re: [PATCH BlueZ] mesh: Fix network information cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch Applied

On Wed, 2019-04-17 at 21:13 -0700, Inga Stotland wrote:
> This fixes issues caused by accessing invalidated entries of nets
> queue that were left around when removing network info in
> mesh_net_detach()
> ---
>  mesh/net.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/mesh/net.c b/mesh/net.c
> index b173e1c09..9b1fbd81e 100644
> --- a/mesh/net.c
> +++ b/mesh/net.c
> @@ -3120,6 +3120,7 @@ struct mesh_io *mesh_net_detach(struct mesh_net *net)
>  	mesh_io_deregister_recv_cb(io, MESH_IO_FILTER_NET);
>  
>  	net->io = NULL;
> +	l_queue_remove(nets, net);
>  
>  	return io;
>  }




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux