Joerg Marx fc350777c7 netfilter: nf_conntrack: fix a race in __nf_conntrack_confirm against nf_ct_get_next_corpse()
This race was triggered by a 'conntrack -F' command running in parallel
to the insertion of a hash for a new connection. Losing this race led to
a dead conntrack entry effectively blocking traffic for a particular
connection until timeout or flushing the conntrack hashes again.
Now the check for an already dying connection is done inside the lock.

Signed-off-by: Joerg Marx <joerg.marx@secunet.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-05-20 15:55:30 +02:00
..
2010-01-07 00:24:55 -08:00
2009-11-04 05:06:25 -08:00
2009-09-01 17:40:57 -07:00
2009-11-04 05:06:25 -08:00
2009-03-21 19:06:54 -07:00
2009-09-01 17:40:31 -07:00
2010-04-13 01:41:33 -07:00
2009-11-04 05:06:25 -08:00
2009-11-04 05:06:25 -08:00
2009-11-13 20:46:58 -08:00
2010-04-13 01:41:33 -07:00
2010-04-28 15:31:51 -07:00
2009-11-04 05:06:25 -08:00
2010-04-23 23:35:29 -07:00
2009-12-26 20:46:28 -08:00
2010-03-12 15:52:40 -08:00
2009-01-06 11:38:15 -07:00
2009-11-20 15:35:04 -08:00
2010-04-01 18:38:48 -07:00
2009-03-21 19:06:50 -07:00
2010-04-13 14:49:34 -07:00
2009-11-04 05:06:25 -08:00
2009-07-26 19:11:14 -07:00
2010-04-01 18:38:48 -07:00
2009-11-04 05:06:25 -08:00
2010-04-22 16:00:00 -07:00
2009-11-10 20:54:38 -08:00
2009-10-07 16:39:43 -04:00