diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-11-14 01:25:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-14 18:04:00 -0800 |
commit | b37fa92e20ef28aada852cbf03b368d29a20478c (patch) | |
tree | 4d31191986082456125a2c5f853efa32647e500c /net | |
parent | f97d139aaafdc20145ad6a6b8d188ac8e58b5413 (diff) |
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: 8dc9a0888f4c ("net: mvneta: rely on build_skb in mvneta_rx_swbm poll routine")
Fixes: 0db51da7a8e9 ("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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions