diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-07-14 23:49:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-14 23:49:46 -0400 |
commit | 2aeb0b88b3c7a0e3bef55e7ff0efffd5d971aa57 (patch) | |
tree | 5b944f469ab809b4e88f6b25b99e8488f58983ce /drivers/net/bonding/bond_main.c | |
parent | fc943b12e48f9341bce48c2fadf094cc721aab93 (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