diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-28 16:24:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-28 16:24:06 -0400 |
commit | def8b4faff5ca349beafbbfeb2c51f3602a6ef3a (patch) | |
tree | a90fbb0b6ae2a49c507465801f31df77bc5ebf9d /net/ipv4/route.c | |
parent | b057efd4d226fcc3a92b0dc6d8ea8e8185ecb260 (diff) |
net: reduce structures when XFRM=n
ifdef out
* struct sk_buff::sp (pointer)
* struct dst_entry::xfrm (pointer)
* struct sock::sk_policy (2 pointers)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 21ce7e1b2284..ffb2c5705432 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -1399,7 +1399,9 @@ void ip_rt_redirect(__be32 old_gw, __be32 daddr, __be32 new_gw, | |||
1399 | rt->u.dst.path = &rt->u.dst; | 1399 | rt->u.dst.path = &rt->u.dst; |
1400 | rt->u.dst.neighbour = NULL; | 1400 | rt->u.dst.neighbour = NULL; |
1401 | rt->u.dst.hh = NULL; | 1401 | rt->u.dst.hh = NULL; |
1402 | #ifdef CONFIG_XFRM | ||
1402 | rt->u.dst.xfrm = NULL; | 1403 | rt->u.dst.xfrm = NULL; |
1404 | #endif | ||
1403 | rt->rt_genid = rt_genid(net); | 1405 | rt->rt_genid = rt_genid(net); |
1404 | rt->rt_flags |= RTCF_REDIRECTED; | 1406 | rt->rt_flags |= RTCF_REDIRECTED; |
1405 | 1407 | ||