From: Johannes Berg <johannes@sipsolutions.net>
To: Felix Fietkau <nbd@nbd.name>, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 4/4] mac80211: support station 4-addr mode fast-rx
Date: Fri, 23 Feb 2018 12:24:52 +0100 [thread overview]
Message-ID: <1519385092.2231.6.camel@sipsolutions.net> (raw)
In-Reply-To: <20180223090606.55726-4-nbd@nbd.name>
On Fri, 2018-02-23 at 10:06 +0100, Felix Fietkau wrote:
> Signed-off-by: Felix Fietkau <nbd@nbd.name>
> ---
> net/mac80211/cfg.c | 2 --
> net/mac80211/rx.c | 11 +++++++----
> 2 files changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
> index 6f9d5beec73e..72b5a2ec4e94 100644
> --- a/net/mac80211/cfg.c
> +++ b/net/mac80211/cfg.c
> @@ -160,7 +160,6 @@ static int ieee80211_change_iface(struct wiphy *wiphy,
> if (type == NL80211_IFTYPE_AP_VLAN &&
> params && params->use_4addr == 0) {
> RCU_INIT_POINTER(sdata->u.vlan.sta, NULL);
> - ieee80211_check_fast_rx_iface(sdata);
> } else if (type == NL80211_IFTYPE_STATION &&
> params && params->use_4addr >= 0) {
> sdata->u.mgd.use_4addr = params->use_4addr;
> @@ -1575,7 +1574,6 @@ static int ieee80211_change_station(struct wiphy *wiphy,
> }
>
> rcu_assign_pointer(vlansdata->u.vlan.sta, sta);
> - __ieee80211_check_fast_rx_iface(vlansdata);
> }
>
> if (sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN &&
I'm not convinced this is right - don't you have to recheck to modify
the station data? Otherwise you'd just drop all the frames to the
slowpath again due to the first patch in the series, no?
johannes
next prev parent reply other threads:[~2018-02-23 11:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 9:06 [PATCH 1/4] mac80211: drop frames with unexpected DS bits from fast-rx to slow path Felix Fietkau
2018-02-23 9:06 ` [PATCH 2/4] mac80211: support AP 4-addr mode fast-rx Felix Fietkau
2018-02-23 9:06 ` [PATCH 3/4] mac80211: support fast-rx with incompatible PS capabilities when PS is disabled Felix Fietkau
2018-02-23 11:25 ` Johannes Berg
2018-02-23 9:06 ` [PATCH 4/4] mac80211: support station 4-addr mode fast-rx Felix Fietkau
2018-02-23 11:24 ` Johannes Berg [this message]
2018-02-23 12:54 ` Felix Fietkau
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=1519385092.2231.6.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@nbd.name \
/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.