[IPV{4,6}]: lru queue for ip_fragment evictor.
The current ip_fragment evictor kills the oldest entry of each hash bucket starting with 0 instead of killing the oldest entry of all buckets. This leads to unfair behaviour if one of the higher hash slots carries alot of fragments. This patch holds the frag heads in a lru queue so we can kills the least recently used first. Each arriving fragment counts as usage.
Showing
Please register or sign in to comment