mbox series

[0/6] mac80211: monitor mode injection fixes

Message ID 20200723085126.29127-1-Mathy.Vanhoef@kuleuven.be (mailing list archive)
Headers show
Series mac80211: monitor mode injection fixes | expand

Message

Mathy Vanhoef July 23, 2020, 8:51 a.m. UTC
This set of patches fixes some bugs related to frame injection, adds
an existing radiotap flag to avoid sequence number overwrites, avoids
an out-of-bounds memory read when injecting frames, and makes the
usage of certain Tx flags more consistent.

Mathy Vanhoef (6):
  mac80211: never drop injected frames even if normally not allowed
  mac80211: add radiotap flag to prevent sequence number overwrite
  mac80211: do not overwrite the sequence number if requested
  mac80211: use same flag everywhere to avoid sequence number overwrite
  mac80211: remove unused flags argument in transmit functions
  mac80211: parse radiotap header when selecting Tx queue

 include/net/ieee80211_radiotap.h |  1 +
 include/net/mac80211.h           | 11 +++++
 net/mac80211/cfg.c               |  2 +-
 net/mac80211/ieee80211_i.h       | 12 ++---
 net/mac80211/iface.c             | 15 ++++--
 net/mac80211/offchannel.c        |  2 +-
 net/mac80211/rx.c                |  2 +-
 net/mac80211/scan.c              |  7 ++-
 net/mac80211/sta_info.c          |  2 +-
 net/mac80211/tx.c                | 81 +++++++++++++++-----------------
 10 files changed, 72 insertions(+), 63 deletions(-)