commit | 9675478bbafed08848bf8d7e28400d5e46330b23 | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jeff@garzik.org> | Fri Feb 26 21:43:38 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 28 01:40:30 2010 -0800 |
tree | e6657e754b88ddc7074aae790510b23d93180308 | |
parent | 6c74651c3bce418d3b29edfdeb72664f9441509a [diff] |
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 <jgarzik@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>