]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc04c5d97da329a7989f65c64e320488beab3ac2b
treeb39ad57ece57a4bd0a8200da48dfc02a9470f835
parentdb379be223e4280b7eac2f4c57c6569499c01476
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