]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: linearise the tt_response skb only if needed
authorAntonio Quartulli <ordex@autistici.org>
Sun, 16 Oct 2011 18:32:02 +0000 (20:32 +0200)
committerSven Eckelmann <sven@narfation.org>
Sun, 20 Nov 2011 12:08:34 +0000 (13:08 +0100)
commit1e48c34d318b57447f618cff2a7a597bb47c072f
tree00b2fb40bff5f673c2dd0e9ef798d25e17c22e67
parent6188fa30e647ac4520eca07d361ae513d895e067
batman-adv: linearise the tt_response skb only if needed

The TT_RESPONSE skb has to be linearised only if the node plans to access the
packet payload (so only if the message is directed to that node). In all the
other cases the node can avoid this memory operation

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/routing.c