From: Jeff Garzik Date: Fri, 26 Feb 2010 21:43:38 +0000 (+0000) Subject: ethtool: do not set some flags, if others failed X-Git-Tag: v2.6.34-rc1~233^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9675478bbafed08848bf8d7e28400d5e46330b23;p=pandora-kernel.git ethtool: do not set some flags, if others failed NETIF_F_NTUPLE flag setting introduced a bug: non-ntuple flags like LRO may be successfully set, before ioctl(2) returns failure to userspace. The set-flags operation should be all-or-none, rather than leaving things in an inconsistent state prior to reporting failure to userspace. Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- Reading git-diff-tree failed