android_kernel_sony_sdm845/drivers/net/bonding
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Qiushi Wu cd678077be bonding: Fix reference count leak in bond_sysfs_slave_add.
commit a068aab42258e25094bc2c159948d263ed7d7a77 upstream.

kobject_init_and_add() takes reference even when it fails.
If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object. Previous
commit "b8eb718348b8" fixed a similar problem.

Fixes: 07699f9a7c ("bonding: add sysfs /slave dir for bond slave devices.")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-03 08:16:46 +02:00
..
bond_3ad.c bonding: fix 802.3ad state sent to partner when unbinding slave 2018-12-21 14:11:36 +01:00
bond_alb.c bonding/alb: make sure arp header is pulled before accessing it 2020-03-20 09:07:42 +01:00
bond_debugfs.c
bond_main.c bonding: fix unexpected IFF_BONDING bit unset 2019-11-12 19:15:58 +01:00
bond_netlink.c bonding: fix length of actor system 2018-11-10 07:42:59 -08:00
bond_options.c bonding: fix arp_validate toggling in active-backup mode 2019-05-16 19:43:46 +02:00
bond_procfs.c bonding: Display LACP info only to CAP_NET_ADMIN capable user 2015-06-23 03:11:52 -07:00
bond_sysfs.c bonding: make mii_status sysfs node consistent 2016-01-11 17:14:42 -05:00
bond_sysfs_slave.c bonding: Fix reference count leak in bond_sysfs_slave_add. 2020-06-03 08:16:46 +02:00
bonding_priv.h net/bonding: Make DRV macros private 2015-04-26 22:59:53 -04:00
Makefile