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)
commitdc58fe32e6a4fbd270e8f045225ce475073d0772
tree00b2fb40bff5f673c2dd0e9ef798d25e17c22e67
parentd099c2c541f003bfde9a9eda5519913b313c4c27
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