diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-07-14 20:55:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-14 20:55:26 -0700 |
commit | d607032db0ccd7274bee348df3214f6f52b24816 (patch) | |
tree | 3870d689a346589604ff25e0c359debd3b0ca914 /kernel/lockdep.c | |
parent | 7af3db78a99f47b9ff40b8cb0bb08160ad6a3d6b (diff) |
ipv4: Check return of dev_set_allmulti
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 allmulti to get error return.
PS: For unwinding tunnel creating, we let ipip->ioctl() to handle it.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/lockdep.c')
0 files changed, 0 insertions, 0 deletions