aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-07-14 23:49:46 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-14 23:49:46 -0400
commit2aeb0b88b3c7a0e3bef55e7ff0efffd5d971aa57 (patch)
tree5b944f469ab809b4e88f6b25b99e8488f58983ce /drivers/net/bonding/bond_main.c
parentfc943b12e48f9341bce48c2fadf094cc721aab93 (diff)
af_packet: 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 af_packet, 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>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions