android_kernel_xiaomi_sm8350/drivers/net/bonding
Wang Chen 7e1a1ac1fb bonding: Check return of dev_set_promiscuity/allmulti
dev_set_promiscuity/allmulti might overflow.
Commit: "netdevice: Fix promiscuity and allmulti overflow" in net-next makes
dev_set_promiscuity/allmulti return error number if overflow happened.

In bond_alb and bond_main, we check all positive increment for promiscuity
and allmulti to get error return.
But there are still two problems left.
1. Some code path has no mechanism to signal errors upstream.
2. If there are multi slaves, it's hard to tell which slaves increment
   promisc/allmulti successfully and which failed.
So I left these problems to be FIXME.
Fortunately, the overflow is very rare case.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-14 20:51:36 -07:00
..
bond_3ad.c
bond_3ad.h
bond_alb.c bonding: Check return of dev_set_promiscuity/allmulti 2008-07-14 20:51:36 -07:00
bond_alb.h
bond_main.c bonding: Check return of dev_set_promiscuity/allmulti 2008-07-14 20:51:36 -07:00
bond_sysfs.c bonding: Allow setting max_bonds to zero 2008-06-18 00:00:04 -04:00
bonding.h bonding: Rework / fix multiple gratuitous ARP support 2008-06-18 00:00:04 -04:00
Makefile