linux_dsm_epyc7002/drivers/net/ethernet/intel/i40evf
Björn Töpel 2aae918c7a i40e/i40evf: proper update of the page_offset field
In f8b45b74cc ("i40e/i40evf: Use build_skb to build frames")
i40e_build_skb updates the page_offset field with an incorrect offset,
which can lead to data corruption. This patch updates page_offset
correctly, by properly setting truesize.

Note that the bug only appears on architectures where PAGE_SIZE is
8192 or larger.

Fixes: f8b45b74cc ("i40e/i40evf: Use build_skb to build frames")
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-06-06 02:49:15 -07:00
..
i40e_adminq_cmd.h i40e: new AQ commands 2017-04-19 17:04:06 -07:00
i40e_adminq.c i40e: reduce wait time for adminq command completion 2017-04-19 17:38:25 -07:00
i40e_adminq.h i40e: reduce wait time for adminq command completion 2017-04-19 17:38:25 -07:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_common.c i40e: new AQ commands 2017-04-19 17:04:06 -07:00
i40e_devids.h i40e: Remove FPK HyperV VF device ID 2017-02-02 22:41:40 -08:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h move io-64-nonatomic*.h out of asm-generic 2015-10-15 00:21:07 +02:00
i40e_prototype.h i40e: new AQ commands 2017-04-19 17:04:06 -07:00
i40e_register.h i40evf: Remove PF specific register definitions from the VF 2015-08-26 15:05:17 -07:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_trace.h i40e/i40evf: Add tracepoints 2017-04-19 16:47:31 -07:00
i40e_txrx.c i40e/i40evf: proper update of the page_offset field 2017-06-06 02:49:15 -07:00
i40e_txrx.h i40e/i40evf: Add support for padding start of frames 2017-04-08 02:53:51 -07:00
i40e_type.h i40e: new AQ commands 2017-04-19 17:04:06 -07:00
i40e_virtchnl.h i40e/i40evf: Add capability exchange for outer checksum 2017-04-06 20:14:51 -07:00
i40evf_client.c i40evf: dereference VSI after VSI has been null checked 2017-03-27 16:47:44 -07:00
i40evf_client.h i40evf: add client interface 2017-03-15 01:31:38 -07:00
i40evf_ethtool.c i40e/i40evf: Add legacy-rx private flag to allow fallback to old Rx flow 2017-03-29 02:15:06 -07:00
i40evf_main.c i40evf: hide unused variable 2017-04-30 05:01:35 -07:00
i40evf_virtchnl.c i40evf: Use net_device_stats from struct net_device 2017-04-19 16:31:34 -07:00
i40evf.h i40evf: remove I40E_FLAG_FDIR_ATR_ENABLED 2017-04-30 04:55:09 -07:00
Makefile i40e/i40evf: Add tracepoints 2017-04-19 16:47:31 -07:00