linux/include/net
Herbert Xu aabc9761b6 [IPSEC]: Store idev entries
I found a bug that stopped IPsec/IPv6 from working.  About
a month ago IPv6 started using rt6i_idev->dev on the cached socket dst
entries.  If the cached socket dst entry is IPsec, then rt6i_idev will
be NULL.

Since we want to look at the rt6i_idev of the original route in this
case, the easiest fix is to store rt6i_idev in the IPsec dst entry just
as we do for a number of other IPv6 route attributes.  Unfortunately
this means that we need some new code to handle the references to
rt6i_idev.  That's why this patch is bigger than it would otherwise be.

I've also done the same thing for IPv4 since it is conceivable that
once these idev attributes start getting used for accounting, we
probably need to dereference them for IPv4 IPsec entries too.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-05-03 16:27:10 -07:00
..
bluetooth Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irda [PATCH] x86_64: Make IRDA devices are not really ISA devices not depend on CONFIG_ISA 2005-04-16 15:24:56 -07:00
sctp [SCTP] Fix SCTP sendbuffer accouting. 2005-04-28 12:02:04 -07:00
tc_act [PKT_SCHED]: Introduce simple actions. 2005-04-24 20:10:16 -07:00
act_api.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
act_generic.h [PKT_SCHED]: Introduce simple actions. 2005-04-24 20:10:16 -07:00
addrconf.h [IPV6]: Include ipv6.h for ipv6_addr_set 2005-05-03 14:25:13 -07:00
af_unix.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ah.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atmclip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ax25.h [AX25] Introduce ax25_type_trans 2005-04-24 18:53:06 -07:00
checksum.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compat.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
datalink.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dn_dev.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dn_fib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dn_neigh.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dn_nsp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dn_route.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dn.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dsfield.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dst.h [NET]: Shave sizeof(ptr) bytes off dst_entry 2005-04-19 20:46:37 -07:00
esp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flow.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen_stats.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
icmp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
if_inet6.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inet_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inet_ecn.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inetpeer.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip6_checksum.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip6_fib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip6_route.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip6_tunnel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_fib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_mp_alg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipcomp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipconfig.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipv6.h [SELINUX]: Fix ipv6_skip_exthdr() invocation causing OOPS. 2005-04-24 20:16:19 -07:00
ipx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iw_handler.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lapb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_c_ac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_c_ev.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_c_st.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_conn.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_if.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_pdu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_s_ac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_s_ev.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_s_st.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc_sap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
llc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ndisc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neighbour.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netrom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
p8022.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pkt_act.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pkt_cls.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pkt_sched.h [PKT_SCHED]: Fix range in PSCHED_TDIFF_SAFE to 0..bound 2005-05-03 14:41:18 -07:00
protocol.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
psnap.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rawv6.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rose.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
route.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_generic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
slhc_vj.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
snmp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sock.h [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
syncppp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcp_ecn.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcp.h [TCP]: skb pcount with MTU discovery 2005-04-24 19:12:33 -07:00
transp_v6.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
udp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
x25.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
x25device.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xfrm.h [IPSEC]: Store idev entries 2005-05-03 16:27:10 -07:00