summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipg.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-01-22 15:11:48 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:10:39 +0100
commit3140c25c82106645a6b1fc469dab7006a1d09fd0 (patch)
treecbf97e7138610c1f1f0ad4528d59b4bbd14039c7 /drivers/net/ipg.c
parent[NETNS][FRAGS]: Isolate the secret interval from namespaces. (diff)
downloadlinux-3140c25c82106645a6b1fc469dab7006a1d09fd0.tar.xz
linux-3140c25c82106645a6b1fc469dab7006a1d09fd0.zip
[NETNS][FRAGS]: Make the LRU list per namespace.
The inet_frags.lru_list is used for evicting only, so we have to make it per-namespace, to evict only those fragments, who's namespace exceeded its high threshold, but not the whole hash. Besides, this helps to avoid long loops in evictor. The spinlock is not per-namespace because it protects the hash table as well, which is global. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipg.c')
0 files changed, 0 insertions, 0 deletions