vxlan: Copy needed_tailroom from lowerdev
authorSven Eckelmann <sven@narfation.org>
Thu, 26 Nov 2020 12:52:47 +0000 (13:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 02:10:12 +0000 (18:10 -0800)
commita5e74021e84bb5eadf760aaf2c583304f02269be
treeb39ad57ece57a4bd0a8200da48dfc02a9470f835
parent0a35dc41fea67ac4495ce7584406bf9557a6e7d0
vxlan: Copy needed_tailroom from lowerdev

While vxlan doesn't need any extra tailroom, the lowerdev might need it. In
that case, copy it over to reduce the chance for additional (re)allocations
in the transmit path.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Link: https://lore.kernel.org/r/20201126125247.1047977-2-sven@narfation.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vxlan.c