summaryrefslogtreecommitdiff
path: root/include/linux/if_link.h
diff options
context:
space:
mode:
authorJean Sacren <sakiwit@gmail.com>2015-10-13 10:06:32 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-10-23 15:40:49 +0300
commit2fc4cd52fa7ed86e9d1df94e459b6a2435bfa9c7 (patch)
treecd23a3af637c15bc513a167851b930aa9506ee7c /include/linux/if_link.h
parent0e5229c6c576969bf8f89f8ca74fa7ea355b434e (diff)
downloadlinux-2fc4cd52fa7ed86e9d1df94e459b6a2435bfa9c7.tar.xz
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/if_link.h')
0 files changed, 0 insertions, 0 deletions