* [PATCH] mac80211: use recent multicast table for all mesh multicast frames, not only broadcast
@ 2008-03-31 22:33 Luis Carlos Cobo
2008-04-01 12:00 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Luis Carlos Cobo @ 2008-03-31 22:33 UTC (permalink / raw)
To: linux-wireless; +Cc: johannes
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
---
net/mac80211/rx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index d9c6ed5..0ac6db5 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -433,7 +433,7 @@ ieee80211_rx_mesh_check(struct ieee80211_rx_data *rx)
}
} else if ((rx->fc & IEEE80211_FCTL_FTYPE) == IEEE80211_FTYPE_DATA &&
- is_broadcast_ether_addr(hdr->addr1) &&
+ is_multicast_ether_addr(hdr->addr1) &&
mesh_rmc_check(hdr->addr4, msh_h_get(hdr, hdrlen), rx->dev))
return RX_DROP_MONITOR;
#undef msh_h_get
--
1.5.4.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mac80211: use recent multicast table for all mesh multicast frames, not only broadcast
2008-03-31 22:33 [PATCH] mac80211: use recent multicast table for all mesh multicast frames, not only broadcast Luis Carlos Cobo
@ 2008-04-01 12:00 ` Johannes Berg
2008-04-01 16:41 ` Luis Carlos Cobo
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2008-04-01 12:00 UTC (permalink / raw)
To: Luis Carlos Cobo; +Cc: linux-wireless, John Linville
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]
Seems appropriate but I haven't checked the spec.
On Mon, 2008-03-31 at 15:33 -0700, Luis Carlos Cobo wrote:
> Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
> ---
> net/mac80211/rx.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
> index d9c6ed5..0ac6db5 100644
> --- a/net/mac80211/rx.c
> +++ b/net/mac80211/rx.c
> @@ -433,7 +433,7 @@ ieee80211_rx_mesh_check(struct ieee80211_rx_data *rx)
> }
>
> } else if ((rx->fc & IEEE80211_FCTL_FTYPE) == IEEE80211_FTYPE_DATA &&
> - is_broadcast_ether_addr(hdr->addr1) &&
> + is_multicast_ether_addr(hdr->addr1) &&
> mesh_rmc_check(hdr->addr4, msh_h_get(hdr, hdrlen), rx->dev))
> return RX_DROP_MONITOR;
> #undef msh_h_get
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mac80211: use recent multicast table for all mesh multicast frames, not only broadcast
2008-04-01 12:00 ` Johannes Berg
@ 2008-04-01 16:41 ` Luis Carlos Cobo
0 siblings, 0 replies; 3+ messages in thread
From: Luis Carlos Cobo @ 2008-04-01 16:41 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless, John Linville
On Tue, 2008-04-01 at 14:00 +0200, Johannes Berg wrote:
> Seems appropriate but I haven't checked the spec.
=EF=BB=BFThis was a bug, it was meant to be multicast from the begginin=
g.
Otherwise if a mesh node transmits a multicast (non-broadcast) frame an=
d
there are N mesh peers around it, it is going to be retransmitted
N^MESH_TTL times.
> On Mon, 2008-03-31 at 15:33 -0700, Luis Carlos Cobo wrote:
> > Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
> > ---
> > net/mac80211/rx.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >=20
> > diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
> > index d9c6ed5..0ac6db5 100644
> > --- a/net/mac80211/rx.c
> > +++ b/net/mac80211/rx.c
> > @@ -433,7 +433,7 @@ ieee80211_rx_mesh_check(struct ieee80211_rx_dat=
a *rx)
> > }
> > =20
> > } else if ((rx->fc & IEEE80211_FCTL_FTYPE) =3D=3D IEEE80211_FTYP=
E_DATA &&
> > - is_broadcast_ether_addr(hdr->addr1) &&
> > + is_multicast_ether_addr(hdr->addr1) &&
> > mesh_rmc_check(hdr->addr4, msh_h_get(hdr, hdrlen), rx->dev))
> > return RX_DROP_MONITOR;
> > #undef msh_h_get
--=20
Luis Carlos Cobo Rus GnuPG ID: 44019B60
cozybit Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-01 16:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 22:33 [PATCH] mac80211: use recent multicast table for all mesh multicast frames, not only broadcast Luis Carlos Cobo
2008-04-01 12:00 ` Johannes Berg
2008-04-01 16:41 ` Luis Carlos Cobo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).