Thread (3 messages) 3 messages, 3 authors, 2011-09-15

Re: [PATCH] net: Make flow cache namespace-aware

From: David Miller <davem@davemloft.net>
Date: 2011-09-15 19:08:20

From: David Ward <redacted>
Date: Wed, 31 Aug 2011 12:05:27 -0400
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 <redacted>
Signed-off-by: David Ward <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help