mac80211: skip encap offload for tx multicast/control packets
authorFelix Fietkau <nbd@nbd.name>
Tue, 8 Sep 2020 12:36:51 +0000 (14:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 09:58:21 +0000 (11:58 +0200)
commitaea6a3f03108532537aec8e18771c1d47a280744
treee89f7d01e0c2fedff41d7948d25f783ad1c1c4a4
parent96ae9cd02c0fd527db6cd8c090abfbcac1546a9f
mac80211: skip encap offload for tx multicast/control packets

This simplifies the checks in the encap offload tx handler and allows using
it in cases where software crypto is used for multicast packets, e.g. when
using an AP_VLAN.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20200908123702.88454-4-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c