Files
linux/drivers
Lorenzo Bianconi b37fa92e20 net: mvneta: fix build skb for bm capable devices
Fix build_skb for bm capable devices when they fall-back using swbm path
(e.g. when bm properties are configured in device tree but
CONFIG_MVNETA_BM_ENABLE is not set). In this case rx_offset_correction is
overwritten so we need to use it building skb instead of
MVNETA_SKB_HEADROOM directly

Fixes: 8dc9a0888f ("net: mvneta: rely on build_skb in mvneta_rx_swbm poll routine")
Fixes: 0db51da7a8 ("net: mvneta: add basic XDP support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reported-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-14 18:04:00 -08:00
..
2019-10-28 16:47:22 -07:00
2019-10-24 08:45:31 +03:00
2019-08-27 09:43:59 +02:00
2019-08-16 11:33:56 -07:00
2019-09-23 17:20:40 -04:00
2019-10-15 23:51:36 +02:00
2019-11-12 12:12:39 -08:00
2019-08-18 12:56:10 +02:00
2019-10-15 14:07:01 -06:00