aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBjörn Töpel <[email protected]>2017-05-15 06:52:00 +0200
committerJeff Kirsher <[email protected]>2017-06-06 02:49:15 -0700
commit2aae918c7a21fb8388ab30b8abd4d9240e8ebd7f (patch)
tree7182bdc9c3fcc7659895f3bdc39c6e58e668d166 /net/unix/af_unix.c
parent9e6c9c0f2ce67534fda1fdd305fb5da3defece3e (diff)
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 <[email protected]> Acked-by: Alexander Duyck <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions