iwlwifi: mvm: report checksum is done also for IPv6 packets
authorSara Sharon <sara.sharon@intel.com>
Wed, 16 Mar 2016 11:57:50 +0000 (13:57 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 30 Mar 2016 13:21:28 +0000 (16:21 +0300)
commitb238be07375e1d3aa976564397109fe9898d6123
tree3306ed7dd4f121e34933d32a1f967138e1cf54d1
parentb429a773c193ee7cb752144e590181a1b8cc8fb5
iwlwifi: mvm: report checksum is done also for IPv6 packets

Currently the code checks if hardware reported both L4 and L3
checksums as valid, and only then reports it as validated to
the stack.
However, IPv6 does not have checksum at all and the L3 checksum
valid bit is always off for IPv6 packets, with the result of the
stack re-validating L4 checksum.
Fix code to set CHECKSUM_UNNECESSARY also for IPv6 packets whose
TCP/UDP checksum was verified.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api-rx.h
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
This page took 0.024741 seconds and 5 git commands to generate.