linux/net/bridge
Wang Chen bc3f9076f6 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>
2008-07-14 20:53:13 -07:00
..
netfilter netfilter: ebt_nflog: fix Kconfig typo 2008-07-08 02:37:07 -07:00
br.c bridge: Use STP demux 2008-07-05 21:25:56 -07:00
br_device.c bridge: make bridge address settings sticky 2008-06-17 16:10:06 -07:00
br_fdb.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_forward.c net: Discard and warn about LRO'd skbs received for forwarding 2008-06-19 16:22:28 -07:00
br_if.c bridge: Check return of dev_set_promiscuity 2008-07-14 20:53:13 -07:00
br_input.c bridge: handle process all link-local frames 2008-06-17 16:09:45 -07:00
br_ioctl.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_netfilter.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-04-14 02:30:23 -07:00
br_netlink.c [NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS. 2008-03-26 04:39:55 +09:00
br_notify.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_private.h bridge: Use STP demux 2008-07-05 21:25:56 -07:00
br_private_stp.h net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_stp.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_stp_bpdu.c bridge: Use STP demux 2008-07-05 21:25:56 -07:00
br_stp_if.c bridge: make bridge address settings sticky 2008-06-17 16:10:06 -07:00
br_stp_timer.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_sysfs_br.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
br_sysfs_if.c Kobject: change net/bridge to use kobject_create_and_add 2008-01-24 20:40:26 -08:00
Kconfig bridge: Use STP demux 2008-07-05 21:25:56 -07:00
Makefile