diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-02-26 22:43:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-28 10:40:30 +0100 |
commit | 9675478bbafed08848bf8d7e28400d5e46330b23 (patch) | |
tree | e6657e754b88ddc7074aae790510b23d93180308 /drivers/net | |
parent | ipoib: returned back addrlen check for mc addresses (diff) | |
download | linux-9675478bbafed08848bf8d7e28400d5e46330b23.tar.xz linux-9675478bbafed08848bf8d7e28400d5e46330b23.zip |
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')
0 files changed, 0 insertions, 0 deletions