diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-02-26 21:43:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-28 01:40:30 -0800 |
commit | 9675478bbafed08848bf8d7e28400d5e46330b23 (patch) | |
tree | e6657e754b88ddc7074aae790510b23d93180308 /drivers/net/wireless/ray_cs.c | |
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>
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
0 files changed, 0 insertions, 0 deletions