From: Wang Chen Date: Tue, 15 Jul 2008 03:49:46 +0000 (-0700) Subject: af_packet: Check return of dev_set_promiscuity/allmulti X-Git-Tag: v2.6.27-rc1~969^2~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aeb0b88b3c7a0e3bef55e7ff0efffd5d971aa57;p=pandora-kernel.git af_packet: 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. In af_packet, 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