commit | d607032db0ccd7274bee348df3214f6f52b24816 | [log] [tgz] |
---|---|---|
author | Wang Chen <wangchen@cn.fujitsu.com> | Mon Jul 14 20:55:26 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 14 20:55:26 2008 -0700 |
tree | 3870d689a346589604ff25e0c359debd3b0ca914 | |
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>