]> 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)
commitcd654b6263c0eeac34657f3c4e3c61799a0eb5ea
tree00b2fb40bff5f673c2dd0e9ef798d25e17c22e67
parented98be1df94035d9a4d60e1b72e467e3637591e3
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