net/igb: fix checksum valid flags
authorWei Zhao <wei.zhao1@intel.com>
Wed, 31 May 2017 03:03:12 +0000 (11:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:27 +0000 (10:41 +0100)
commit760110abd68d84014b48bb84945276016d3e7616
tree2d57aded7366e91c8b3d3c4f3dd345926aec8e71
parentc80711c3fbfdae1449ad1cbc6b31067087bd9561
net/igb: fix checksum valid flags

To enable L4 checksum offload for SCTP packets, E1000_RXCSUM_CRCOFL
should be set.

Otherwise, for SCTP packets even L4 checksum not calculated, it will
return PKT_RX_L4_CKSUM_GOOD.

Fixes: af75078fece3 ("first public release")

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/igb_rxtx.c