]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: return error from control port TX for drops
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jul 2022 07:37:59 +0000 (09:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:14 +0000 (14:28 +0200)
commit5ec99753f70579db97b6afd223da4d3e684a2c69
tree4d6dfe1e25dfc5433d42d0f029b57792325eb5f7
parent014455c7097a722d6bb0ec050827dfe1ff4959e2
wifi: mac80211: return error from control port TX for drops

If the frame is going to be dropped anyway because
ieee80211_lookup_ra_sta() returned an error (and
even though it's a bit racy, it will likely continue
to do so), return the error out instead of just
silently dropping the frame.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c