public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public•gmane.org>
To: Felix Fietkau <nbd-p3rKhJxN3npAfugRpC6u6w@public•gmane.org>
Cc: Krishna Chaitanya
	<chaitanya.mgit-Re5JQEeQqe8AvxtiuMwx3w@public•gmane.org>,
	linux-wireless
	<linux-wireless-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
	Sebastian Gottschall
	<s.gottschall-t37Kgv3TaIPQT0dZR+AlfA@public•gmane.org>,
	Johannes Berg <johannes-cdvu00un1VgdHxzADdlk8Q@public•gmane.org>,
	netdev <netdev-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>
Subject: Re: Regression in 3.9 caused by "bridge: respect RFC2863 operational state"
Date: Wed, 1 May 2013 15:49:04 -0700	[thread overview]
Message-ID: <20130501154904.0ea31991@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <518183C8.8050606-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>

On Wed, 01 May 2013 23:06:16 +0200
Felix Fietkau <nbd-p3rKhJxN3npAfugRpC6u6w@public•gmane.org> wrote:

> On 2013-05-01 10:21 PM, Stephen Hemminger wrote:
> > What about using AF_PACKET bound to underlying wireless device and the
> > packet type. You can even use BPF to filter.
> As far as I know, AF_PACKET only works when not binding it to the packet
> type (otherwise it get stolen by the rx handler).

You can do AF_PACKET and it gets handle before rx_handler.

> Not binding it to the packet type and using BPF to filter is expensive
> on small embedded devices with small caches. Still, this requires
> userspace changes, so we need a different solution.
> 
> > Another alternative would be to have bridge accept control frames on
> > dormant device but not send.
> Sounds good, will you send a patch for that?
> 
> - Felix
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-05-01 22:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01 19:02 Regression in 3.9 caused by "bridge: respect RFC2863 operational state" Felix Fietkau
     [not found] ` <518166C5.4080904-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2013-05-01 19:49   ` Krishna Chaitanya
     [not found]     ` <CAOaVG179Rx_JfV99mbjWhwQTALb5gh+2_WVFWDSbngA0qkzoGw@mail.gmail.com>
     [not found]       ` <CAOaVG179Rx_JfV99mbjWhwQTALb5gh+2_WVFWDSbngA0qkzoGw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-01 21:06         ` Felix Fietkau
     [not found]           ` <518183C8.8050606-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2013-05-01 22:49             ` Stephen Hemminger [this message]
     [not found]               ` <20130501154904.0ea31991-We1ePj4FEcvRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org>
2013-05-02  0:53                 ` Felix Fietkau
     [not found] <CAFuUQkhHsRZMnNYBbVZU0=BcAKMEktzYgPv6oc=CMFd7MFDi6g@mail.gmail.com>
2015-12-04  2:31 ` YanBo
     [not found]   ` <CAFuUQkjm3RFnrzWWSvbnYFC8gMnbX7C4bP_x0+2bREYumcoJyg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-19 15:45     ` Shajakhan, Mohammed Shafi (Mohammed Shafi)
     [not found]       ` <439966a35f064c7690f2ccbe7296c552-uFOy1J/eYsFdSXZW2pRUXqRtKmQZhJ7pQQ4Iyu8u01E@public.gmane.org>
2016-01-19 21:10         ` YanBo
     [not found] ` <CAFuUQkhHsRZMnNYBbVZU0=BcAKMEktzYgPv6oc=CMFd7MFDi6g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-19 21:48   ` Stephen Hemminger
2016-01-19 21:55     ` 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=20130501154904.0ea31991@nehalam.linuxnetplumber.net \
    --to=stephen-otpzqlsittunbdjkjebofr2eb7je58tq@public$(echo .)gmane.org \
    --cc=chaitanya.mgit-Re5JQEeQqe8AvxtiuMwx3w@public$(echo .)gmane.org \
    --cc=johannes-cdvu00un1VgdHxzADdlk8Q@public$(echo .)gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=nbd-p3rKhJxN3npAfugRpC6u6w@public$(echo .)gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=s.gottschall-t37Kgv3TaIPQT0dZR+AlfA@public$(echo .)gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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