From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: julian@freifunk-rtk.de
Subject: Re: [B.A.T.M.A.N.] [maint] batman-adv: Revert "fix splat on disabling an interface"
Date: Fri, 04 Nov 2016 08:16:22 +0100 [thread overview]
Message-ID: <1751615.omgmT43EIh@bentobox> (raw)
In-Reply-To: <20161102171443.9491-1-sven@narfation.org>
[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]
On Mittwoch, 2. November 2016 18:14:43 CET Sven Eckelmann wrote:
> The commit bac7733d06fa ("batman-adv: fix splat on disabling an interface")
> fixed a warning but at the same time broke the rtnl function add_slave for
> devices which were temporarily removed.
>
> batadv_softif_slave_add requires soft_iface of and hard_iface to be NULL
> before it is allowed to be enslaved. But this resetting of soft_iface to
> NULL in batadv_hardif_disable_interface was removed with the aforementioned
> commit.
>
> Reported-by: Julian Labus <julian@freifunk-rtk.de>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> Cc: Linus Lüssing <linus.luessing@c0d3.blue>
> Acked-by: Linus Lüssing <linus.luessing@c0d3.blue>
> ---
> This is a simple revert. Linus, feel free to propose a patch to remove the
> "|| hard_iface->soft_iface" when you think it is safe and you've tested
> that it works
>
> Bug report for it can be found at https://www.open-mesh.org/issues/307
> ---
> net/batman-adv/hard-interface.c | 1 +
> 1 file changed, 1 insertion(+)
Applied in 89d0e31c2cc790743ee373b717c05ca85caf8384 [1].
Kind regards,
Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/89d0e31c2cc790743ee373b717c05ca85caf8384
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2016-11-04 7:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-02 17:14 [B.A.T.M.A.N.] [PATCH maint] batman-adv: Revert "fix splat on disabling an interface" Sven Eckelmann
2016-11-04 3:42 ` Linus Lüssing
2016-11-04 7:16 ` Sven Eckelmann [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=1751615.omgmT43EIh@bentobox \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=julian@freifunk-rtk.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.