diff options
| author | Steffen Klassert <steffen.klassert@secunet.com> | 2014-02-19 04:07:34 -0500 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2014-02-19 04:35:43 -0500 |
| commit | 1a1ccc96abb2ed9b8fbb71018e64b97324caef53 (patch) | |
| tree | 0888c68978167c36ce434344264afb19cf83a7c7 /include/net | |
| parent | d3623099d3509fa68fa28235366049dd3156c63a (diff) | |
xfrm: Remove caching of xfrm_policy_sk_bundles
We currently cache socket policy bundles at xfrm_policy_sk_bundles.
These cached bundles are never used. Instead we create and cache
a new one whenever xfrm_lookup() is called on a socket policy.
Most protocols cache the used routes to the socket, so let's
remove the unused caching of socket policy bundles in xfrm.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/netns/xfrm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 52d0086d55d3..51f0dce7b643 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h | |||
| @@ -59,7 +59,6 @@ struct netns_xfrm { | |||
| 59 | struct dst_ops xfrm6_dst_ops; | 59 | struct dst_ops xfrm6_dst_ops; |
| 60 | #endif | 60 | #endif |
| 61 | spinlock_t xfrm_state_lock; | 61 | spinlock_t xfrm_state_lock; |
| 62 | spinlock_t xfrm_policy_sk_bundle_lock; | ||
| 63 | rwlock_t xfrm_policy_lock; | 62 | rwlock_t xfrm_policy_lock; |
| 64 | struct mutex xfrm_cfg_mutex; | 63 | struct mutex xfrm_cfg_mutex; |
| 65 | 64 | ||
