net: mvneta: avoid copying shared_info frags in mvneta_swbm_build_skb
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 19 Sep 2020 00:03:26 +0000 (02:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Sep 2020 21:14:27 +0000 (14:14 -0700)
commit5273144116d10f66c206a068266584cc60a526ac
tree5ae6e982ea44aa107cc851373822e36a1d84b1c0
parent3dfe8dde093a07e82fa472c0f8c29a7f6a2006a5
net: mvneta: avoid copying shared_info frags in mvneta_swbm_build_skb

Avoid copying skb_shared_info frags array in mvneta_swbm_build_skb() since
__build_skb_around() does not overwrite it

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c