diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-07-14 20:53:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-14 20:53:13 -0700 |
commit | bc3f9076f671f128c82022428992c30be57f22d5 (patch) | |
tree | ec3ecf7cf8d22e9a319f832650b5edb1634ec9f3 /net/ipv6 | |
parent | 7e1a1ac1fbaa88fe254400b7f30b775502932ad3 (diff) | |
download | op-kernel-dev-bc3f9076f671f128c82022428992c30be57f22d5.zip op-kernel-dev-bc3f9076f671f128c82022428992c30be57f22d5.tar.gz |
bridge: Check return of dev_set_promiscuity
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 the positive increment for promiscuity to get error return.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions