public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: "B.A.T.M.A.N" <b.a.t.m.a.n@lists.open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Use of ref_get_unless_zero() ?
Date: Fri, 04 Mar 2016 16:53:22 +0100	[thread overview]
Message-ID: <1558669.ODGCKOSvmE@sven-edge> (raw)
In-Reply-To: <2378940.op5bKN67gL@sven-edge>

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

On Friday 04 March 2016 16:50:43 Sven Eckelmann wrote: 
> batadv_send_outstanding_bat_ogm_packet (and later send to the mentioned
> function via batadv_schedule_bat_ogm). Also batadv_add_bcast_packet_to_list
> doesn't increase the reference counter for if_incoming before adding to the
> forward packet. So I would just say that the reference counting for
> batadv_hard_iface is broken.

Ah, just saw that batadv_primary_if_get_selected already increased the 
reference counter. So it is not as easy as I said.

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-03-04 15:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04 15:21 [B.A.T.M.A.N.] Use of ref_get_unless_zero() ? Andrew Lunn
2016-03-04 15:37 ` Antonio Quartulli
2016-03-04 15:50 ` Sven Eckelmann
2016-03-04 15:53   ` Sven Eckelmann [this message]
2016-03-04 16:00   ` Sven Eckelmann
2016-03-04 16:21   ` Andrew Lunn

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=1558669.ODGCKOSvmE@sven-edge \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.net \
    /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