alistair23-linux/net/batman-adv
Martin Hundebøll e0d9677ea3 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 3c12de9a5c
("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>
2015-01-07 17:21:57 +01:00
..
bat_algo.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
bat_iv_ogm.c batman-adv: checkpatch - remove unnecessary parentheses 2015-01-07 17:21:56 +01:00
bitarray.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
bitarray.h batman-adv: checkpatch - else is not generally useful after a break or return 2015-01-07 17:21:55 +01:00
bridge_loop_avoidance.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
bridge_loop_avoidance.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
debugfs.c batman-adv: checkpatch - Please use a blank line after declarations 2015-01-07 17:21:55 +01:00
debugfs.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
distributed-arp-table.c batman-adv: checkpatch - Please use a blank line after declarations 2015-01-07 17:21:55 +01:00
distributed-arp-table.h batman-adv: kernel doc fix for distributed-arp-table.h 2015-01-07 17:21:54 +01:00
fragmentation.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
fragmentation.h batman-adv: checkpatch - else is not generally useful after a break or return 2015-01-07 17:21:55 +01:00
gateway_client.c batman-adv: checkpatch - Please use a blank line after declarations 2015-01-07 17:21:55 +01:00
gateway_client.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
gateway_common.c batman-adv: replace strnicmp with strncasecmp 2014-10-14 02:18:24 +02:00
gateway_common.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
hard-interface.c batman: fix a bogus warning from batadv_is_on_batman_iface() 2014-05-22 17:23:00 -04:00
hard-interface.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
hash.c batman-adv: prefer kmalloc_array to kmalloc when possible 2014-08-04 16:02:10 +02:00
hash.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
icmp_socket.c batman-adv: prefer ether_addr_copy to memcpy 2014-03-22 08:50:26 +01:00
icmp_socket.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
Kconfig batman-adv: Multicast Listener Announcements via Translation Table 2014-03-22 09:18:56 +01:00
main.c batman-adv: clear control block of received socket buffers 2015-01-07 17:21:57 +01:00
main.h batman-adv: checkpatch - No space is necessary after a cast 2015-01-07 17:21:55 +01:00
Makefile batman-adv: Multicast Listener Announcements via Translation Table 2014-03-22 09:18:56 +01:00
multicast.c batman-adv: fix multicast counter when purging originators 2015-01-06 11:06:04 +01:00
multicast.h batman-adv: avoid useless return in void functions 2015-01-07 17:21:52 +01:00
network-coding.c batman-adv: checkpatch - else is not generally useful after a break or return 2015-01-07 17:21:55 +01:00
network-coding.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
originator.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
originator.h batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
packet.h batman-adv: checkpatch - Please use a blank line after declarations 2015-01-07 17:21:55 +01:00
routing.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
routing.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
send.c batman-adv: Send multicast packets to nodes with a WANT_ALL flag 2014-03-22 09:18:58 +01:00
send.h batman-adv: Modified forwarding behaviour for multicast packets 2014-03-22 09:18:57 +01:00
soft-interface.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
soft-interface.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
sysfs.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
sysfs.h batman-adv: update copyright years for 2014 2014-01-12 14:41:19 +01:00
translation-table.c batman-adv: checkpatch - Please don't use multiple blank lines 2015-01-07 17:21:56 +01:00
translation-table.h batman-adv: Modified forwarding behaviour for multicast packets 2014-03-22 09:18:57 +01:00
types.h batman-adv: remove obsolete variable primary_iface from orig_node 2015-01-07 17:21:53 +01:00