aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@hundeboll.net>2014-09-17 08:56:19 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2015-01-07 17:21:57 +0100
commite0d9677ea387e386e9ce983f287d99b278ea4930 (patch)
treef45d251dcdda2a4f671246450d224f8f0b070f15 /net/batman-adv/routing.c
parentbatman-adv: checkpatch - remove unnecessary parentheses (diff)
downloadlinux-dev-e0d9677ea387e386e9ce983f287d99b278ea4930.tar.xz
linux-dev-e0d9677ea387e386e9ce983f287d99b278ea4930.zip
batman-adv: clear control block of received socket buffers
Since other network components (and some drivers) uses the control block provided in skb's, the network coding feature might wrongly assume that an SKB has been decoded, and thus not try to code it with another packet again. This happens for instance when batman-adv is running on a bridge device. Fix this by clearing the control block for every received SKB. Introduced by 3c12de9a5c756b23fe7c9ab332474ece1568914c ("batman-adv: network coding - code and transmit packets if possible") Signed-off-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/routing.c')
0 files changed, 0 insertions, 0 deletions