linux/net/batman-adv
Sven Eckelmann 6d5808d4ae batman-adv: Add missing hardif_free_ref in forw_packet_free
add_bcast_packet_to_list increases the refcount for if_incoming but the
reference count is never decreased. The reference count must be
increased for all kinds of forwarded packets which have the primary
interface stored and forw_packet_free must decrease them. Also
purge_outstanding_packets has to invoke forw_packet_free when a work
item was really cancelled.

This regression was introduced in
32ae9b221e.

Reported-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2011-05-15 00:02:06 +02:00
..
aggregation.c batman-adv: Add missing hardif_free_ref in forw_packet_free 2011-05-15 00:02:06 +02:00
aggregation.h batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
bat_debugfs.c batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
bat_debugfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_sysfs.c batman-adv: Avoid deadlock between rtnl_lock and s_active 2011-05-08 16:10:42 +02:00
bat_sysfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
gateway_client.c batman-adv: Make bat_priv->primary_if an rcu protected pointer 2011-05-01 22:49:03 +02:00
gateway_client.h batman-adv: concentrate all curr_gw related rcu operations in select/deselect functions 2011-04-17 21:11:01 +02:00
gateway_common.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
gateway_common.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
hard-interface.c batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
hard-interface.h batman-adv: Make bat_priv->primary_if an rcu protected pointer 2011-05-01 22:49:03 +02:00
hash.c batman-adv: remove extra layer between hash and hash element - hash bucket 2011-03-05 12:52:00 +01:00
hash.h batman-adv: remove extra layer between hash and hash element - hash bucket 2011-03-05 12:52:00 +01:00
icmp_socket.c batman-adv: Make bat_priv->primary_if an rcu protected pointer 2011-05-01 22:49:03 +02:00
icmp_socket.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
Kconfig net: Add batman-adv meshing protocol 2010-12-16 13:44:24 -08:00
main.c batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
main.h batman-adv: Remove multiline comments from line ending 2011-05-08 16:10:42 +02:00
Makefile batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
originator.c batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
originator.h batman-adv: Make orig_node->router an rcu protected pointer 2011-04-17 21:11:01 +02:00
packet.h batman-adv: Remove multiline comments from line ending 2011-05-08 16:10:42 +02:00
ring_buffer.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
ring_buffer.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
routing.c batman-adv: remove duplicate code from function is_bidirectional_neigh() 2011-05-08 16:10:42 +02:00
routing.h batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
send.c batman-adv: Add missing hardif_free_ref in forw_packet_free 2011-05-15 00:02:06 +02:00
send.h batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
soft-interface.c batman-adv: Remove multiline comments from line ending 2011-05-08 16:10:42 +02:00
soft-interface.h batman-adv: Disallow regular interface as mesh device 2011-03-05 12:52:09 +01:00
translation-table.c batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
translation-table.h batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
types.h batman-adv: Remove multiline comments from line ending 2011-05-08 16:10:42 +02:00
unicast.c batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
unicast.h batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
vis.c batman-adv: rename everything from *hna* into *tt* (translation table) 2011-05-08 16:10:42 +02:00
vis.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00