kernel-ark/net
Herbert Xu 546be2405b [IPSEC] xfrm: Undo afinfo lock proliferation
The number of locks used to manage afinfo structures can easily be reduced
down to one each for policy and state respectively.  This is based on the
observation that the write locks are only held by module insertion/removal
which are very rare events so there is no need to further differentiate
between the insertion of modules like ipv6 versus esp6.

The removal of the read locks in xfrm4_policy.c/xfrm6_policy.c might look
suspicious at first.  However, after you realise that nobody ever takes
the corresponding write lock you'll feel better :)

As far as I can gather it's an attempt to guard against the removal of
the corresponding modules.  Since neither module can be unloaded at all
we can leave it to whoever fixes up IPv6 unloading :)

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-17 21:28:37 -07:00
..
802
8021q
appletalk
atm
ax25
bluetooth
bridge [BRIDGE]: netlink interface for link management 2006-06-17 21:26:14 -07:00
core [I/OAT]: Add a sysctl for tuning the I/OAT offloaded I/O threshold 2006-06-17 21:25:54 -07:00
dccp [I/OAT]: Make sk_eat_skb I/OAT aware. 2006-06-17 21:25:52 -07:00
decnet
econet
ethernet [NET]: Eliminate unused /proc/sys/net/ethernet 2006-06-05 15:34:11 -07:00
ieee80211
ipv4 [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
ipv6 [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
ipx
irda [IRDA]: Missing allocation result check in irlap_change_speed(). 2006-06-05 15:34:52 -07:00
key
lapb
llc [LLC]: add multicast support for datagrams 2006-06-17 21:26:08 -07:00
netfilter
netlink
netrom
packet
rose
rxrpc
sched
sctp
sunrpc [PATCH] knfsd: Fix two problems that can cause rmmod nfsd to die 2006-05-23 10:35:31 -07:00
tipc
unix
wanrouter
x25
xfrm [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c [NET]: Eliminate unused /proc/sys/net/ethernet 2006-06-05 15:34:11 -07:00
TUNABLE