summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorJean Sacren <sakiwit@gmail.com>2015-10-13 01:06:32 -0600
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-10-23 05:40:49 -0700
commit2fc4cd52fa7ed86e9d1df94e459b6a2435bfa9c7 (patch)
treecd23a3af637c15bc513a167851b930aa9506ee7c /include/linux/netdevice.h
parent0e5229c6c576969bf8f89f8ca74fa7ea355b434e (diff)
downloadlwn-2fc4cd52fa7ed86e9d1df94e459b6a2435bfa9c7.tar.gz
lwn-2fc4cd52fa7ed86e9d1df94e459b6a2435bfa9c7.zip
i40e: fix unconditional execution of cpu_to_le16()
The commit 3092e5e4cc79 ("i40e: add little endian conversion for checksum") fixed the checksum bug on big-endian architecture. But we should not execute cpu_to_le16() unconditionally. Thus, put cpu_to_le16() under certain condition. Cc: Jesse Brandeburg <jesse.brandeburg@intel.com> Cc: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com> Signed-off-by: Jean Sacren <sakiwit@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions