Repository navigation
Commit 1a1ccc9
committed
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>1 parent d362309 commit 1a1ccc9
2 files changed
Lines changed: 0 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
2109 | 2107 | | |
2110 | 2108 | | |
2111 | 2109 | | |
2112 | | - | |
2113 | | - | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
2119 | 2110 | | |
2120 | 2111 | | |
2121 | 2112 | | |
| |||
2549 | 2540 | | |
2550 | 2541 | | |
2551 | 2542 | | |
2552 | | - | |
2553 | | - | |
2554 | | - | |
2555 | | - | |
2556 | | - | |
2557 | | - | |
2558 | | - | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | | - | |
2564 | | - | |
2565 | | - | |
2566 | | - | |
2567 | | - | |
2568 | 2543 | | |
2569 | 2544 | | |
2570 | 2545 | | |
2571 | | - | |
2572 | 2546 | | |
2573 | 2547 | | |
2574 | 2548 | | |
2575 | 2549 | | |
2576 | 2550 | | |
2577 | 2551 | | |
2578 | | - | |
2579 | 2552 | | |
2580 | 2553 | | |
2581 | 2554 | | |
| |||
2944 | 2917 | | |
2945 | 2918 | | |
2946 | 2919 | | |
2947 | | - | |
2948 | 2920 | | |
2949 | 2921 | | |
2950 | 2922 | | |
| |||
0 commit comments