diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-08-29 20:15:09 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:45 -0400 |
commit | 8e1ef0a95b87e8b4292b2ba733e8cb854ea2d2fe (patch) | |
tree | 245489015b33604df5b270ce3c027205d867a929 /include/linux | |
parent | cf6b1982599cbb60f410adeda659b0b29cdf7ad7 (diff) |
[IPV6]: Cache source address as well in ipv6_pinfo{}.
Based on MIPL2 kernel patch.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ipv6.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 297853c841b4..02d14a3ff2af 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h | |||
@@ -242,6 +242,9 @@ struct ipv6_pinfo { | |||
242 | struct in6_addr rcv_saddr; | 242 | struct in6_addr rcv_saddr; |
243 | struct in6_addr daddr; | 243 | struct in6_addr daddr; |
244 | struct in6_addr *daddr_cache; | 244 | struct in6_addr *daddr_cache; |
245 | #ifdef CONFIG_IPV6_SUBTREES | ||
246 | struct in6_addr *saddr_cache; | ||
247 | #endif | ||
245 | 248 | ||
246 | __u32 flow_label; | 249 | __u32 flow_label; |
247 | __u32 frag_size; | 250 | __u32 frag_size; |