summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2019-12-18 11:17:38 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-18 12:04:17 -0800
commit93b5dce401ccd4a688fe1f0d0bf0d97e63cdf921 (patch)
tree5d4b047423758e94fb4634ff51c7ad24f2fa0d9e /drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
parenteaf4fac478077d4ed57cbca2c044c4b58a96bd98 (diff)
net: stmmac: Only the last buffer has the FCS field
Only the last received buffer contains the FCS field. Check for end of packet before trying to strip the FCS field. Fixes: 88ebe2cf7f3f ("net: stmmac: Rework stmmac_rx()") Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h')
0 files changed, 0 insertions, 0 deletions