]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd86df76c84cf643db6382f7734105d019e6d036b
tree5ae6e982ea44aa107cc851373822e36a1d84b1c0
parentdaf842c92530a1e2be0db315f92148a1672e9889
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