From: Wang Chen Date: Tue, 15 Jul 2008 03:59:03 +0000 (-0700) Subject: 8021q: Check return of dev_set_promiscuity/allmulti X-Git-Tag: v2.6.27-rc1~969^2~150 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89146504cbfeb120dd08ec7f9f8314c4986189b8;p=pandora-kernel.git 8021q: 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. Here, we check all positive increment for promiscuity and allmulti to get error return. Signed-off-by: Wang Chen Acked-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed