diff options
author | dpward <[email protected]> | 2011-08-31 06:05:27 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-09-15 14:49:44 -0400 |
commit | 0542b69e2c57fc9668ce6a03155bea6e1f557901 (patch) | |
tree | 42fd6ce7ca11daeefc815271488e7fa92721f909 /net/lapb/lapb_timer.c | |
parent | 02009afc223aae43b8e18918fc816e4520791537 (diff) |
net: Make flow cache namespace-aware
flow_cache_lookup will return a cached object (or null pointer) that the
resolver (i.e. xfrm_policy_lookup) previously found for another namespace
using the same key/family/dir. Instead, make the namespace part of what
identifies entries in the cache.
As before, flow_entry_valid will return 0 for entries where the namespace
has been deleted, and they will be removed from the cache the next time
flow_cache_gc_task is run.
Reported-by: Andrew Dickinson <[email protected]>
Signed-off-by: David Ward <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions