linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gix, Brian" <brian.gix@intel.com>
To: "linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>,
	"Stotland, Inga" <inga.stotland@intel.com>
Cc: "luiz.dentz@gmail.com" <luiz.dentz@gmail.com>,
	"johan.hedberg@gmail.com" <johan.hedberg@gmail.com>
Subject: Re: [PATCH BlueZ] mesh: Fix network information cleanup
Date: Fri, 19 Apr 2019 16:09:56 +0000	[thread overview]
Message-ID: <1555690194.3265.0.camel@intel.com> (raw)
In-Reply-To: <20190418041306.18815-1-inga.stotland@intel.com>

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;
>  }

      reply	other threads:[~2019-04-19 18:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-18  4:13 [PATCH BlueZ] mesh: Fix network information cleanup Inga Stotland
2019-04-19 16:09 ` Gix, Brian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1555690194.3265.0.camel@intel.com \
    --to=brian.gix@intel.com \
    --cc=inga.stotland@intel.com \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).