summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2020-11-25 13:16:43 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2020-11-27 08:02:55 +0100
commitc5cbfc87558168ef4c3c27ce36eba6b83391db19 (patch)
tree5309d64f0d6eed047d09b34868477056269db5e5 /net/batman-adv/main.h
parent4ca23e2c2074465bff55ea14221175fecdf63c5f (diff)
batman-adv: Reserve needed_*room for fragments
The batadv net_device is trying to propagate the needed_headroom and needed_tailroom from the lower devices. This is needed to avoid cost intensive reallocations using pskb_expand_head during the transmission. But the fragmentation code split the skb's without adding extra room at the end/beginning of the various fragments. This reduced the performance of transmissions over complex scenarios (batadv on vxlan on wireguard) because the lower devices had to perform the reallocations at least once. Fixes: ee75ed88879a ("batman-adv: Fragment and send skbs larger than mtu") Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions