On Monday 06 August 2007 10:05, John W. Linville wrote: > - if (sdata->type != IEEE80211_IF_TYPE_STA) { > + if (sdata->type != IEEE80211_IF_TYPE_STA || > + (is_multicast_ether_addr(dst) && > + !compare_ether_addr(src, dev->dev_addr))) > return TXRX_DROP; > - } Looks fine to me, though I haven't tested. -Michael Wu
Attachment:
pgpM4GhUxUpPZ.pgp
Description: PGP signature