linux/net/batman-adv
Antonio Quartulli 55883fd104 batman-adv: clean nf state when removing protocol header
If an interface enslaved into batman-adv is a bridge (or a
virtual interface built on top of a bridge) the nf_bridge
member of the skbs reaching the soft-interface is filled
with the state about "netfilter bridge" operations.

Then, if one of such skbs is locally delivered, the nf_bridge
member should be cleaned up to avoid that the old state
could mess up with other "netfilter bridge" operations when
entering a second bridge.
This is needed because batman-adv is an encapsulation
protocol.

However at the moment skb->nf_bridge is not released at all
leading to bogus "netfilter bridge" behaviours.

Fix this by cleaning the netfilter state of the skb before
it gets delivered to the upper layer in interface_rx().

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2013-12-28 14:47:44 +01:00
..
bat_algo.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bat_iv_ogm.c batman-adv: fix header alignment by unrolling batadv_header 2013-12-28 12:51:16 +01:00
bitarray.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bitarray.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
bridge_loop_avoidance.c batman-adv: make the backbone gw check VLAN specific 2013-10-19 23:25:38 +02:00
bridge_loop_avoidance.h batman-adv: make the backbone gw check VLAN specific 2013-10-19 23:25:38 +02:00
debugfs.c batman-adv: remove vis functionality 2013-10-09 21:22:32 +02:00
debugfs.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
distributed-arp-table.c batman-adv: fix header alignment by unrolling batadv_header 2013-12-28 12:51:16 +01:00
distributed-arp-table.h batman-adv: tvlv - add distributed arp table container 2013-10-09 21:22:27 +02:00
fragmentation.c batman-adv: fix header alignment by unrolling batadv_header 2013-12-28 12:51:16 +01:00
fragmentation.h batman-adv: Fragment and send skbs larger than mtu 2013-10-12 11:58:35 +02:00
gateway_client.c batman-adv: make struct batadv_neigh_node algorithm agnostic 2013-10-23 15:33:08 +02:00
gateway_client.h batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
gateway_common.c batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
gateway_common.h batman-adv: tvlv - gateway download/upload bandwidth container 2013-10-09 21:22:27 +02:00
hard-interface.c batman-adv: invoke dev_get_by_index() outside of is_wifi_iface() 2013-10-23 17:03:44 +02:00
hard-interface.h batman-adv: invoke dev_get_by_index() outside of is_wifi_iface() 2013-10-23 17:03:44 +02:00
hash.c batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
hash.h batman-adv: update copyright years 2013-01-19 21:18:12 +08:00
icmp_socket.c batman-adv: fix header alignment by unrolling batadv_header 2013-12-28 12:51:16 +01:00
icmp_socket.h batman-adv: generalize batman-adv icmp packet handling 2013-10-23 17:03:47 +02:00
Kconfig batman-adv: network coding - add the initial infrastructure code 2013-03-13 22:53:48 +01:00
main.c batman-adv: fix size of batadv_icmp_header 2013-12-28 12:51:16 +01:00
main.h batman-adv: Start new development cycle 2013-10-23 17:03:46 +02:00
Makefile batman-adv: Receive fragmented packets and merge 2013-10-12 11:58:34 +02:00
network-coding.c batman-adv: fix header alignment by unrolling batadv_header 2013-12-28 12:51:16 +01:00
network-coding.h batman-adv: tvlv - add network coding container 2013-10-09 21:22:28 +02:00
originator.c batman-adv: provide orig_node routing API 2013-10-23 17:03:21 +02:00
originator.h batman-adv: make struct batadv_orig_node algorithm agnostic 2013-10-23 15:33:09 +02:00
packet.h batman-adv: fix alignment for batadv_tvlv_tt_change 2013-12-28 12:51:18 +01:00
routing.c batman-adv: fix size of batadv_icmp_header 2013-12-28 12:51:16 +01:00
routing.h batman-adv: adapt bonding to use the new API functions 2013-10-23 15:33:12 +02:00
send.c batman-adv: fix header alignment by unrolling batadv_header 2013-12-28 12:51:16 +01:00
send.h batman-adv: refine API calls for unicast transmissions of SKBs 2013-10-19 17:31:54 +02:00
soft-interface.c batman-adv: clean nf state when removing protocol header 2013-12-28 14:47:44 +01:00
soft-interface.h batman-adv: add sysfs framework for VLAN 2013-10-19 17:28:42 +02:00
sysfs.c batman-adv: make the AP isolation attribute VLAN specific 2013-10-19 17:28:47 +02:00
sysfs.h batman-adv: add sysfs framework for VLAN 2013-10-19 17:28:42 +02:00
translation-table.c batman-adv: fix alignment for batadv_tvlv_tt_change 2013-12-28 12:51:18 +01:00
translation-table.h batman-adv: limit local translation table max size 2013-10-23 17:03:43 +02:00
types.h batman-adv: generalize batman-adv icmp packet handling 2013-10-23 17:03:47 +02:00