kernel-hacking-2024-linux-s.../net
Herbert Xu 12a169e7d8 ipsec: Put dumpers on the dump list
Herbert Xu came up with the idea and the original patch to make
xfrm_state dump list contain also dumpers:

As it is we go to extraordinary lengths to ensure that states
don't go away while dumpers go to sleep.  It's much easier if
we just put the dumpers themselves on the list since they can't
go away while they're going.

I've also changed the order of addition on new states to prevent
a never-ending dump.

Timo Teräs improved the patch to apply cleanly to latest tree,
modified iteration code to be more readable by using a common
struct for entries in the list, implemented the same idea for
xfrm_policy dumping and moved the af_key specific "last" entry
caching to af_key.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-01 07:03:24 -07:00
..
9p 9p: fix put_data error handling 2008-09-24 16:22:22 -05:00
802
8021q net: Use hton[sl]() instead of __constant_hton[sl]() where applicable 2008-09-20 22:20:49 -07:00
appletalk
atm net/atm/lec.c: drop code after return 2008-09-22 19:24:45 -07:00
ax25
bluetooth [Bluetooth] Fix regression from using default link policy 2008-09-12 03:11:54 +02:00
bridge Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-09-08 16:59:05 -07:00
can
core Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-01 06:12:56 -07:00
dccp This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
decnet
econet
ethernet net: Use hton[sl]() instead of __constant_hton[sl]() where applicable 2008-09-20 22:20:49 -07:00
ieee80211
ipv4 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-01 06:12:56 -07:00
ipv6 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-01 06:12:56 -07:00
ipx
irda
iucv iucv: Fix mismerge again. 2008-09-30 03:03:35 -07:00
key ipsec: Put dumpers on the dump list 2008-10-01 07:03:24 -07:00
lapb
llc
mac80211 Fix modpost failure when rx handlers are not inlined. 2008-09-30 14:07:25 -04:00
netfilter netfilter: xt_time gives a wrong monthday in a leap year 2008-09-22 19:02:36 -07:00
netlabel
netlink
netrom
packet
phonet Phonet: Netlink factorization and cleanup 2008-09-30 02:51:18 -07:00
rfkill rfkill: remove transmitter blocking on suspend 2008-09-15 16:48:25 -04:00
rose
rxrpc
sched pkt_sched: Check the state of tx_queue in dequeue_skb() 2008-09-22 22:16:23 -07:00
sctp Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-10-01 06:12:56 -07:00
sunrpc net: Use hton[sl]() instead of __constant_hton[sl]() where applicable 2008-09-20 22:20:49 -07:00
tipc
unix
wanrouter
wireless wireless: a global static to local static improvement 2008-09-24 16:18:04 -04:00
x25
xfrm ipsec: Put dumpers on the dump list 2008-10-01 07:03:24 -07:00
compat.c
Kconfig Phonet: add CONFIG_PHONET 2008-09-22 20:03:00 -07:00
Makefile Phonet: add CONFIG_PHONET 2008-09-22 20:03:00 -07:00
nonet.c
socket.c sys_paccept: disable paccept() until API design is resolved 2008-09-23 08:09:14 -07:00
sysctl_net.c
TUNABLE