kernel_optimize_test/net/bridge
Xiaotian Feng c587aea951 net/bridge: use kobject_put to release kobject in br_add_if error path
kobject_init_and_add will alloc memory for kobj->name, so in br_add_if
error path, simply use kobject_del will not free memory for kobj->name.
Fix by using kobject_put instead, kobject_put will internally calls
kobject_del and frees memory for kobj->name.

Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-26 19:20:51 -07:00
..
netfilter netfilter: x_tables: added hook number into match extension parameter structure. 2009-06-04 16:54:42 +02:00
br_device.c
br_fdb.c bridge: Simplify interface for ATM LANE 2009-06-11 21:03:21 -07:00
br_forward.c
br_if.c net/bridge: use kobject_put to release kobject in br_add_if error path 2009-07-26 19:20:51 -07:00
br_input.c
br_ioctl.c
br_netfilter.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
br_netlink.c
br_notify.c
br_private_stp.h
br_private.h bridge: Simplify interface for ATM LANE 2009-06-11 21:03:21 -07:00
br_stp_bpdu.c
br_stp_if.c
br_stp_timer.c
br_stp.c
br_sysfs_br.c
br_sysfs_if.c
br.c bridge: Use rcu_barrier() instead of syncronize_net() on unload. 2009-06-26 13:51:32 -07:00
Kconfig
Makefile