diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-28 13:24:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-28 13:24:06 -0700 |
commit | def8b4faff5ca349beafbbfeb2c51f3602a6ef3a (patch) | |
tree | a90fbb0b6ae2a49c507465801f31df77bc5ebf9d /include/net/dst.h | |
parent | b057efd4d226fcc3a92b0dc6d8ea8e8185ecb260 (diff) | |
download | linux-3.10-def8b4faff5ca349beafbbfeb2c51f3602a6ef3a.tar.gz linux-3.10-def8b4faff5ca349beafbbfeb2c51f3602a6ef3a.tar.bz2 linux-3.10-def8b4faff5ca349beafbbfeb2c51f3602a6ef3a.zip |
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 'include/net/dst.h')
-rw-r--r-- | include/net/dst.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/dst.h b/include/net/dst.h index 8a8b71e5f3f..f96c4ba4dd3 100644 --- a/include/net/dst.h +++ b/include/net/dst.h @@ -59,8 +59,9 @@ struct dst_entry struct neighbour *neighbour; struct hh_cache *hh; +#ifdef CONFIG_XFRM struct xfrm_state *xfrm; - +#endif int (*input)(struct sk_buff*); int (*output)(struct sk_buff*); |