Files
android_kernel_xiaomi_sm8450/net/ipv4
Jesper Dangaard Brouer 68399ac37e net: frag, avoid several CPUs grabbing same frag queue during LRU evictor loop
The LRU list is protected by its own lock, since commit 3ef0eb0db4
(net: frag, move LRU list maintenance outside of rwlock), and
no-longer by a read_lock.

This makes it possible, to remove the inet_frag_queue, which is about
to be "evicted", from the LRU list head.  This avoids the problem, of
several CPUs grabbing the same frag queue.

Note, cannot remove the inet_frag_lru_del() call in fq_unlink()
called by inet_frag_kill(), because inet_frag_kill() is also used in
other situations.  Thus, we use list_del_init() to allow this
double list_del to work.

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>
2013-03-27 12:48:33 -04:00
..
2013-03-26 12:27:18 -04:00
2013-02-15 15:10:37 -05:00
2013-03-26 12:27:18 -04:00
2013-03-17 14:35:13 -04:00
2013-03-12 08:30:34 -04:00
2012-10-08 17:42:36 -04:00
2013-03-26 12:27:18 -04:00
2013-03-26 12:27:18 -04:00
2013-03-26 12:27:19 -04:00
2013-02-04 15:46:15 -05:00
2013-03-26 12:27:18 -04:00
2013-03-26 12:27:18 -04:00
2013-03-26 12:27:19 -04:00
2013-03-26 12:27:18 -04:00
2013-02-21 15:25:00 -05:00
2013-03-12 08:30:34 -04:00
2013-03-17 14:35:13 -04:00
2013-03-21 11:47:50 -04:00
2012-01-20 14:17:26 -05:00
2012-01-20 14:17:26 -05:00
2012-05-17 14:59:59 -04:00
2013-03-21 11:47:51 -04:00
2011-03-31 11:26:23 -03:00
2013-03-21 11:47:50 -04:00
2013-03-21 11:47:50 -04:00
2013-03-21 11:47:50 -04:00
2011-03-31 11:26:23 -03:00
2012-03-11 23:42:51 -07:00
2012-04-15 12:37:19 -04:00