Search Linux Wireless

Re: [PATCHv3] wireless: check A-MSDU inner frame source address on AP interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Braun <michael-dev@xxxxxxxxxxxxx> writes:
> When using WPA security, the station and thus the required key is
> identified by its mac address when packets are received. So a
> station usually cannot spoof its source mac address.
>
> But when a station sends an A-MSDU frame, port control and crypto
> is done using the outer mac address, while the packets delivered
> and forwarded use the inner mac address.
>
> IEEE 802.11-2012 mandates that the outer source mac address should
> match the inner source address (section 8.3.2.2). For the
> destination mac address, matching is not required (section 10.23.15).
>
> Signed-off-by: Michael Braun <michael-dev@xxxxxxxxxxxxx>
> ---
>  drivers/net/wireless/intel/iwlwifi/mvm/d3.c        |  3 ++-
>  .../net/wireless/marvell/mwifiex/11n_rxreorder.c   | 18 +++++++-------
>  drivers/staging/rtl8723au/core/rtw_recv.c          |  2 +-
>  include/net/cfg80211.h                             |  9 +++----
>  net/mac80211/rx.c                                  | 11 +++++++--
>  net/wireless/util.c                                | 28 +++++++++-------------
>  6 files changed, 38 insertions(+), 33 deletions(-)

I understand the intentions of this patch are all good, but you need to
not post patches that include both staging and mainline drivers at the
same time. In general make it a patchset and do one patch per driver.

Ideally split up changes to generic code into their own patches too.

Last drivers/staging/rtl8723au is gone - so your patch is going to fail
to apply anyway.

Jes



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux