]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix dropping broadcast packets in 802.11 encap
authorSeevalamuthu Mariappan <seevalam@codeaurora.org>
Tue, 9 Jun 2020 10:15:54 +0000 (15:45 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Jun 2020 08:54:35 +0000 (10:54 +0200)
commitf333cc124d9d3c075d0087f76fa3a664b1271010
tree727d6a0c16e3ae97760cdbec178e27add5fcbeb7
parentfe5a7e869db1cd432b421386595eee839c2fb03d
mac80211: Fix dropping broadcast packets in 802.11 encap

Broadcast pkts like arp are getting dropped in 'ieee80211_8023_xmit'.
Fix this by replacing is_valid_ether_addr api with is_zero_ether_addr.

Fixes: d40648719e7a ("mac80211: add 802.11 encapsulation offloading support")
Signed-off-by: Seevalamuthu Mariappan <seevalam@codeaurora.org>
Link: https://lore.kernel.org/r/1591697754-4975-1-git-send-email-seevalam@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c