summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-07-11 12:47:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-25 12:25:10 +0300
commit7c14cf21867cee5cb8f6b830d08769f01c1b69a7 (patch)
tree0db6ba8e182f33cb576f205ff3ec109b1491ce7a /virt
parent65851c6b6d6ef51cfd37bd19e00a8045a58812ef (diff)
downloadlinux-7c14cf21867cee5cb8f6b830d08769f01c1b69a7.tar.xz
net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite
[ Upstream commit 9e3bff923913729d76d87f0015848ee7b8ff7083 ] SYSTEMPORT Lite reversed the logic compared to SYSTEMPORT, the GIB_FCS_STRIP bit is set when the Ethernet FCS is stripped, and that bit is not set by default. Fix the logic such that we properly check whether that bit is set or not and we don't forward an extra 4 bytes to the network stack. Fixes: 44a4524c54af ("net: systemport: Add support for SYSTEMPORT Lite") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions