From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <a@unstable.cc>
Subject: Re: [B.A.T.M.A.N.] [PATCH maint v2] batman-adv: make sure ELP/OGM orig MAC is updated on address change
Date: Mon, 02 May 2016 18:05:39 +0800 [thread overview]
Message-ID: <1862457.UagmlqXuON@voltaire> (raw)
In-Reply-To: <1462137808-719-1-git-send-email-a@unstable.cc>
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
On Monday, May 02, 2016 05:23:28 Antonio Quartulli wrote:
> +static void batadv_v_iface_update_mac(struct batadv_hard_iface *hard_iface)
> +{
> + struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface);
> + struct batadv_hard_iface *primary_if;
> +
> + primary_if = batadv_primary_if_get_selected(bat_priv);
> + if (primary_if != hard_iface)
> + goto out;
> +
> + batadv_v_primary_iface_set(hard_iface);
> +out:
> + if (primary_if)
> + batadv_hardif_put(primary_if);
> +}
Please provide kernel doc.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
prev parent reply other threads:[~2016-05-02 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-01 17:36 [B.A.T.M.A.N.] [PATCH next] batman-adv: make sure ELP/OGM orig MAC is updated on address change Antonio Quartulli
2016-05-01 20:59 ` Antonio Quartulli
2016-05-01 21:23 ` [B.A.T.M.A.N.] [PATCH maint v2] " Antonio Quartulli
2016-05-02 10:05 ` Marek Lindner [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=1862457.UagmlqXuON@voltaire \
--to=mareklindner@neomailbox.ch \
--cc=a@unstable.cc \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/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