From: dpward Date: Wed, 31 Aug 2011 06:05:27 +0000 (+0000) Subject: net: Make flow cache namespace-aware X-Git-Tag: v3.1-rc7~25^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0542b69e2c57fc9668ce6a03155bea6e1f557901;p=pandora-kernel.git 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 Signed-off-by: David Ward Signed-off-by: David S. Miller --- Reading git-diff-tree failed