kernel-hacking-2024-linux-s.../net/core
Jeff Garzik 9675478bba 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>
2010-02-28 01:40:30 -08:00
..
datagram.c
dev.c dev: support deferring device flag change notifications 2010-02-27 02:43:40 -08:00
dev_mcast.c net: add addr len check to dev_mc_add 2010-02-26 04:22:26 -08:00
drop_monitor.c net: remove INIT_RCU_HEAD() usage 2010-02-17 00:03:27 -08:00
dst.c dst: call cond_resched() in dst_gc_task() 2010-02-08 15:00:39 -08:00
ethtool.c ethtool: do not set some flags, if others failed 2010-02-28 01:40:30 -08:00
fib_rules.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
filter.c net: export attach/detach filter routines 2010-02-17 16:35:16 -08:00
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile skbuff: remove skb_dma_map/unmap 2009-12-02 19:57:15 -08:00
neighbour.c net neigh: Decouple per interface neighbour table controls from binary sysctls 2010-02-16 15:55:18 -08:00
net-sysfs.c net-sysfs: Use rtnl_trylock in wireless sysfs methods. 2010-02-19 15:40:51 -08:00
net-sysfs.h
net-traces.c
net_namespace.c netns: Add an explicit rcu_barrier to unregister_pernet_{device|subsys} 2009-12-03 12:22:03 -08:00
netevent.c
netpoll.c netpoll: allow execution of multiple rx_hooks per interface 2010-01-13 20:38:26 -08:00
pktgen.c xfrm: SA lookups signature with mark 2010-02-22 16:20:22 -08:00
request_sock.c
rtnetlink.c rtnetlink: support specifying device flags on device creation 2010-02-27 02:43:40 -08:00
scm.c
skbuff.c const: constify remaining pipe_buf_operations 2009-12-16 07:20:05 -08:00
sock.c net: use kasprintf() for socket cache names 2010-02-17 13:27:11 -08:00
stream.c
sysctl_net_core.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2009-12-08 07:55:01 -08:00
user_dma.c
utils.c