diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2017-05-15 06:52:00 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-06-06 02:49:15 -0700 |
commit | 2aae918c7a21fb8388ab30b8abd4d9240e8ebd7f (patch) | |
tree | 7182bdc9c3fcc7659895f3bdc39c6e58e668d166 /Documentation/hwmon/nct6683 | |
parent | 9e6c9c0f2ce67534fda1fdd305fb5da3defece3e (diff) | |
download | talos-op-linux-2aae918c7a21fb8388ab30b8abd4d9240e8ebd7f.tar.gz talos-op-linux-2aae918c7a21fb8388ab30b8abd4d9240e8ebd7f.zip |
i40e/i40evf: proper update of the page_offset field
In f8b45b74cc62 ("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: f8b45b74cc62 ("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>
Diffstat (limited to 'Documentation/hwmon/nct6683')
0 files changed, 0 insertions, 0 deletions