commit | 1b5ab0def4f6e42e8b8097c3b11d2e8d96baafec | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Wed Mar 27 05:55:56 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 27 12:48:33 2013 -0400 |
tree | 7cdce8ba8eda1451847fead45108f4de39d5cec5 | |
parent | 68399ac37e571c2d695ea3b08aa82235874b5158 [diff] |
net: use the frag lru_lock to protect netns_frags.nqueues update Move the protection of netns_frags.nqueues updates under the LRU_lock, instead of the write lock. As they are located on the same cacheline, and this is also needed when transitioning to use per hash bucket locking. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>