net: dsa: tag_ocelot: let DSA core deal with TX reallocation
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 1 Nov 2020 19:16:13 +0000 (21:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 16:06:21 +0000 (17:06 +0100)
commit54787024c8fbc1805adce37d79a0ad6a6119899b
tree5990a189b26ec4ecba7bf26c37abd133379b7529
parentcf5c6682e27478f78fe237c90a5c5cd28558df3e
net: dsa: tag_ocelot: let DSA core deal with TX reallocation

[ Upstream commit 9c5c3bd00557e57c1049f7861f11e5e39f0fb42d ]

Now that we have a central TX reallocation procedure that accounts for
the tagger's needed headroom in a generic way, we can remove the
skb_cow_head call.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/dsa/tag_ocelot.c