]> git.baikalelectronics.ru Git - kernel.git/commit
net: broadcom: bcm4908_enet: fix received skb length
authorRafał Miłecki <rafal@milecki.pl>
Thu, 11 Feb 2021 12:12:38 +0000 (13:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 23:04:17 +0000 (15:04 -0800)
commit05c09880f222015f28aed1688f54da26339f755a
treef7da824229f19fe7973c42ebbc253e39e33ac8d5
parentc273f5c981208f8de421f566db3da72617d7cc5f
net: broadcom: bcm4908_enet: fix received skb length

Use ETH_FCS_LEN instead of magic value and drop incorrect + 2

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm4908_enet.c