-
- Downloads
net: frag, move LRU list maintenance outside of rwlock
Updating the fragmentation queues LRU (Least-Recently-Used) list, required taking the hash writer lock. However, the LRU list isn't tied to the hash at all, so we can use a separate lock for it. Original-idea-by:Florian Westphal <fw@strlen.de> Signed-off-by:
Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_frag.h 22 additions, 0 deletionsinclude/net/inet_frag.h
- net/ipv4/inet_fragment.c 7 additions, 5 deletionsnet/ipv4/inet_fragment.c
- net/ipv4/ip_fragment.c 1 addition, 3 deletionsnet/ipv4/ip_fragment.c
- net/ipv6/netfilter/nf_conntrack_reasm.c 2 additions, 3 deletionsnet/ipv6/netfilter/nf_conntrack_reasm.c
- net/ipv6/reassembly.c 1 addition, 3 deletionsnet/ipv6/reassembly.c
Loading
Please register or sign in to comment