From: Simon Wunderlich <sw@simonwunderlich.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Subject: Re: [B.A.T.M.A.N.] [PATCH v2 0/7] batman-adv: wifi interface detection on
Date: Mon, 24 Oct 2016 12:20:20 +0200 [thread overview]
Message-ID: <2620660.dmJzxXI5bC@prime> (raw)
In-Reply-To: <2666783.nl87Kib46y@bentobox>
[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]
On Friday, September 30, 2016 3:20:23 PM CEST Sven Eckelmann wrote:
> Hi,
>
> Marek created some patches a while ago to automatically detect the wifi
> interface under virtual interfaces like VLANs. These patches had some
> problems because they failed to correctly set the num_bcasts in these
> situations and also had some locking problems.
>
> The following patches try to address these by introducing a cache for the
> detected wifi configuration (wifi_flags which make taking the rtnl lock in
> critical section unnecessary) and by updating the num_bcast and wifi_flags
> when the interface behind iflink changes.
>
> * added patch "batman-adv: Return non-const ptr in batadv_getlink_net"
> * added patch "batman-adv: Close two alignment holes in batadv_hard_iface"
> * added patch "batman-adv: Cache the type of wifi device for each hardif"
> * added patch "batman-adv: Update wifi flags on upper link change"
> * introduced batadv_get_real_netdevice which can be used inside rtnl
> locked contexts
> * replaced wifi check functions with ones that use the wifi_flags cache
> * use batadv_getlink_net to get the iflink net_namespace
> * force rtnl_lock in batadv_get_real_netdev
>
> Kind regards,
> Sven
Applied this series on 451eab1..846df98.
Thanks,
Simon
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2016-10-24 10:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-30 13:20 [B.A.T.M.A.N.] [PATCH v2 0/7] batman-adv: wifi interface detection on Sven Eckelmann
2016-09-30 13:21 ` [B.A.T.M.A.N.] [PATCH v2 1/7] batman-adv: Return non-const ptr in batadv_getlink_net Sven Eckelmann
2016-09-30 13:21 ` [B.A.T.M.A.N.] [PATCH v2 2/7] batman-adv: Close two alignment holes in batadv_hard_iface Sven Eckelmann
2016-09-30 13:21 ` [B.A.T.M.A.N.] [PATCH v2 3/7] batman-adv: refactor wifi interface detection Sven Eckelmann
2016-09-30 13:21 ` [B.A.T.M.A.N.] [PATCH v2 4/7] batman-adv: Cache the type of wifi device for each hardif Sven Eckelmann
2016-09-30 13:21 ` [B.A.T.M.A.N.] [PATCH v2 5/7] batman-adv: additional checks for virtual interfaces on top of WiFi Sven Eckelmann
2016-09-30 13:21 ` [B.A.T.M.A.N.] [PATCH v2 6/7] batman-adv: retrieve B.A.T.M.A.N. V WiFi neighbor stats from real interface Sven Eckelmann
2016-09-30 13:21 ` [B.A.T.M.A.N.] [PATCH v2 7/7] batman-adv: Update wifi flags on upper link change Sven Eckelmann
2016-10-24 10:20 ` Simon Wunderlich [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=2620660.dmJzxXI5bC@prime \
--to=sw@simonwunderlich.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=sven.eckelmann@open-mesh.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