aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp_diag.c
diff options
context:
space:
mode:
authorRemi Pommarel <repk@triplefau.lt>2020-03-08 10:25:56 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-08 21:27:44 -0700
commitb723bd933980f4956dabc8a8d84b3e83be8d094c (patch)
treec225cde763c23d135e526ebdaf72c4e81530134c /net/ipv4/udp_diag.c
parentgre: fix uninit-value in __iptunnel_pull_header (diff)
downloadlinux-dev-b723bd933980f4956dabc8a8d84b3e83be8d094c.tar.xz
linux-dev-b723bd933980f4956dabc8a8d84b3e83be8d094c.zip
net: stmmac: dwmac1000: Disable ACS if enhanced descs are not used
ACS (auto PAD/FCS stripping) removes FCS off 802.3 packets (LLC) so that there is no need to manually strip it for such packets. The enhanced DMA descriptors allow to flag LLC packets so that the receiving callback can use that to strip FCS manually or not. On the other hand, normal descriptors do not support that. Thus in order to not truncate LLC packet ACS should be disabled when using normal DMA descriptors. Fixes: 47dd7a540b8a0 ("net: add support for STMicroelectronics Ethernet controllers.") Signed-off-by: Remi Pommarel <repk@triplefau.lt> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp_diag.c')
0 files changed, 0 insertions, 0 deletions