android_kernel_samsung_msm8976/drivers/net/bonding
nikolay@redhat.com 318debd897 bonding: fix multiple 3ad mode sysfs race conditions
When bond_3ad_get_active_agg_info() is used in all show_ad_ functions
it is not protected against slave manipulation and since it walks over
the slaves and uses them, this can easily result in NULL pointer
dereference or use of freed memory. Both the new wrapper and the
internal function are exported to the bonding as they're needed in
different places.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-19 23:25:49 -07:00
..
bond_3ad.c bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bond_3ad.h bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bond_alb.c net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
bond_alb.h
bond_debugfs.c
bond_main.c bonding: arp_ip_count and arp_targets can be wrong 2013-05-19 23:25:49 -07:00
bond_procfs.c bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bond_sysfs.c bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bonding.h
Makefile