android_kernel_xiaomi_sm8350/net/8021q
Wang Chen 89146504cb 8021q: 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.

Here, we check all positive increment for promiscuity and allmulti
to get error return.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-14 20:59:03 -07:00
..
Kconfig vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
Makefile vlan: uninline __vlan_hwaccel_rx 2008-07-08 03:23:36 -07:00
vlan_core.c vlan: TCI related type and naming cleanups 2008-07-08 03:24:44 -07:00
vlan_dev.c 8021q: Check return of dev_set_promiscuity/allmulti 2008-07-14 20:59:03 -07:00
vlan_gvrp.c vlan: TCI related type and naming cleanups 2008-07-08 03:24:44 -07:00
vlan_netlink.c vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
vlan.c vlan: TCI related type and naming cleanups 2008-07-08 03:24:44 -07:00
vlan.h vlan: TCI related type and naming cleanups 2008-07-08 03:24:44 -07:00
vlanproc.c vlan: Use is_vlan_dev() 2008-07-08 03:22:16 -07:00
vlanproc.h [VLAN]: Add a net argument to proc init and cleanup calls. 2008-04-16 00:51:12 -07:00