aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ef10.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-07-11 02:47:58 -0700
committerDavid S. Miller <davem@davemloft.net>2018-07-12 14:47:47 -0700
commit9e3bff923913729d76d87f0015848ee7b8ff7083 (patch)
treebd61f6707025750d1944fb1eae95974d56fac56c /drivers/net/ethernet/sfc/ef10.c
parenttcp: allow user to create repair socket without window probes (diff)
downloadlinux-dev-9e3bff923913729d76d87f0015848ee7b8ff7083.tar.xz
linux-dev-9e3bff923913729d76d87f0015848ee7b8ff7083.zip
net: systemport: Fix CRC forwarding check for SYSTEMPORT Lite
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>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef10.c')
0 files changed, 0 insertions, 0 deletions