All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Christian Lamparter <chunkeey@googlemail.com>
Cc: Saqeb Akhter <saqeb.akhter@gmail.com>,
	linux-wireless@vger.kernel.org, Jouni Malinen <j@w1.fi>,
	linville@tuxdriver.com
Subject: Re: [PATCH for-2.6.37?] mac80211: ignore non-bcast mcast managment frames
Date: Mon, 29 Nov 2010 19:45:30 +0100	[thread overview]
Message-ID: <1291056330.3532.8.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <201011291937.25195.chunkeey@googlemail.com>

On Mon, 2010-11-29 at 19:37 +0100, Christian Lamparter wrote:

> @@ -1999,6 +1999,10 @@ ieee80211_rx_h_mgmt_check(struct ieee80211_rx_data *rx)
>  	if (!ieee80211_is_mgmt(mgmt->frame_control))
>  		return RX_DROP_MONITOR;
>  
> +	if (is_multicast_ether_addr(mgmt->da) &&
> +	    !is_broadcast_ether_addr(mgmt->da))
> +		return RX_DROP_MONITOR;
> +

I'm not sure we should do this here since the nl80211 hook is later?

johannes


  reply	other threads:[~2010-11-29 18:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTimN3X_e4fZhUSoTs-GmQ9kmaJUrgnxAu8=W2dT_@mail.gmail.com>
2010-10-01 14:22 ` carl9170: wnda3100 only 54MB/s Saqeb Akhter
2010-10-01 14:36   ` Christian Lamparter
     [not found]     ` <AANLkTimZYgDLLag+uGgdojrckZ5tgySC+UeyHCfee74J@mail.gmail.com>
2010-10-01 22:34       ` Saqeb Akhter
2010-10-01 22:52       ` Christian Lamparter
2010-10-01 23:56         ` Saqeb Akhter
2010-10-02  0:26           ` Christian Lamparter
2010-10-02  2:32             ` Saqeb Akhter
2010-10-02  2:52               ` Christian Lamparter
2010-10-02  2:56                 ` Saqeb Akhter
2010-10-02  3:19                   ` Christian Lamparter
2010-10-02  3:28                     ` Saqeb Akhter
2010-10-02  6:18                       ` Saqeb Akhter
2010-10-02 11:32                         ` Christian Lamparter
2010-10-02 16:40                           ` Saqeb Akhter
2010-11-29 17:14                           ` [RFC] mac80211: filter multicast rx (was: Re: carl9170: wnda3100 only 54MB/s) Christian Lamparter
2010-11-29 18:37                             ` [PATCH for-2.6.37?] mac80211: ignore non-bcast mcast managment frames Christian Lamparter
2010-11-29 18:45                               ` Johannes Berg [this message]
2010-11-29 19:53                                 ` [PATCH for-2.6.37 v2] mac80211: ignore non-bcast mcast deauth/disassoc franes Christian Lamparter
2010-12-04 21:38                                   ` Jouni Malinen
2010-10-04 17:58                     ` carl9170: wnda3100 only 54MB/s Dan Williams

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=1291056330.3532.8.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=chunkeey@googlemail.com \
    --cc=j@w1.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=saqeb.akhter@gmail.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 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.