wil6210: drop Rx multicast packets that are looped-back to STA
authorDedy Lansky <dlansky@codeaurora.org>
Thu, 23 Aug 2018 11:47:07 +0000 (14:47 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:48:16 +0000 (16:48 +0300)
commit9a65064abdf82934e0ed4744125f9f466f421f57
treeb993b92ea6886987c4ddf46ac2583e3d9027d04f
parent22b9610ec68716d664aac99cee6e65464cc6c922
wil6210: drop Rx multicast packets that are looped-back to STA

Delivering a looped-back multicast packet to network stack can cause
higher layer protocols to fail like for example IPv6 DAD.
In STA mode, upon receiving Rx multicast packet, check if the source
MAC address is equal to our own MAC address and if so drop the packet.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/txrx.c