kernel-ark/net/ipv6
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
..
netfilter [NETFILTER]: Fix do_add_counters race, possible oops or info leak (CVE-2006-0039) 2006-05-19 02:16:52 -07:00
addrconf.c
af_inet6.c
ah6.c
anycast.c
datagram.c
esp6.c
exthdrs_core.c
exthdrs.c [IPV6]: Clean up hop-by-hop options handler. 2006-04-18 15:57:53 -07:00
icmp.c [PATCH] for_each_possible_cpu: network codes 2006-04-11 06:18:31 -07:00
inet6_connection_sock.c [IPV6]: skb leakage in inet6_csk_xmit 2006-05-10 13:24:38 -07:00
inet6_hashtables.c [IPV6]: Deinline few large functions in inet6 code 2006-04-09 22:48:59 -07:00
ip6_fib.c
ip6_flowlabel.c
ip6_input.c [IPV6]: Clean up hop-by-hop options handler. 2006-04-18 15:57:53 -07:00
ip6_output.c
ip6_tunnel.c [INET]: Move no-tunnel ICMP error to tunnel4/tunnel6 2006-04-09 22:25:25 -07:00
ipcomp6.c [NET]: Fix "ntohl(ntohs" bugs 2006-05-22 16:53:22 -07:00
ipv6_sockglue.c
ipv6_syms.c
Kconfig
Makefile
mcast.c
ndisc.c
netfilter.c [NETFILTER]: Fix build with CONFIG_NETFILTER=y/m on IA64 2006-04-09 22:25:49 -07:00
proc.c [PATCH] for_each_possible_cpu: network codes 2006-04-11 06:18:31 -07:00
protocol.c
raw.c
reassembly.c [IPv6] reassembly: Always compute hash under the fragment lock. 2006-04-11 17:21:05 -07:00
route.c [IPV6] ROUTE: Don't try less preferred routes for on-link routes. 2006-05-26 13:23:41 -07:00
sit.c [INET]: Use port unreachable instead of proto for tunnels 2006-04-09 22:25:29 -07:00
sysctl_net_ipv6.c
tcp_ipv6.c [I/OAT]: TCP recv offload to I/OAT 2006-06-17 21:25:56 -07:00
tunnel6.c [INET]: Move no-tunnel ICMP error to tunnel4/tunnel6 2006-04-09 22:25:25 -07:00
udp.c
xfrm6_input.c [IPSEC]: Kill unused decap state structure 2006-04-01 00:54:16 -08:00
xfrm6_output.c
xfrm6_policy.c [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
xfrm6_state.c [IPSEC] xfrm: Undo afinfo lock proliferation 2006-06-17 21:28:37 -07:00
xfrm6_tunnel.c