original_kernel/net/batman-adv
Jesper Juhl 155e4e12b9 batman-adv: Fix mem leak in the batadv_tt_local_event() function
Memory is allocated for 'tt_change_node' with kmalloc().
'tt_change_node' may go out of scope really being used for anything
(except have a few members initialized) if we hit the 'del:' label.
This patch makes sure we free the memory in that case.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-08 16:04:04 -07:00
..
Kconfig
Makefile batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
bat_algo.h
bat_iv_ogm.c
bitarray.c
bitarray.h
bridge_loop_avoidance.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
bridge_loop_avoidance.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
debugfs.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
debugfs.h batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
gateway_client.c batman-adv: select an internet gateway if none was chosen 2012-08-06 13:23:46 -07:00
gateway_client.h
gateway_common.c
gateway_common.h
hard-interface.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
hard-interface.h
hash.c batman-adv: Remove space before semicolon 2012-07-01 22:47:23 +02:00
hash.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
icmp_socket.c
icmp_socket.h
main.c batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
main.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
originator.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
originator.h
packet.h
ring_buffer.c
ring_buffer.h
routing.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
routing.h
send.c
send.h
soft-interface.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
soft-interface.h
sysfs.c batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
sysfs.h batman-adv: Remove bat_ prefix from bat_{debugfs, sysfs}.{c, h} 2012-07-01 22:47:22 +02:00
translation-table.c batman-adv: Fix mem leak in the batadv_tt_local_event() function 2012-08-08 16:04:04 -07:00
translation-table.h
types.h net: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
unicast.c batman-adv: Fix alignment after opened parentheses 2012-07-01 22:47:23 +02:00
unicast.h
vis.c batman-adv: Don't leak information through uninitialized packet fields 2012-07-01 22:47:24 +02:00
vis.h