]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2/o2net: incorrect to terminate accepting connections loop upon rejecting an...
authorTariq Saeed <tariq.x.saeed@oracle.com>
Thu, 22 May 2014 00:42:32 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:42:32 +0000 (10:42 +1000)
commitc34a5ac39b5b0794723f50ba640e5ecf0efda766
tree2c5d61ebaacada1e862ec96e0d7bff769617b396
parent3f63228e8349656c93174935efbe6eb04e34d230
ocfs2/o2net: incorrect to terminate accepting connections loop upon rejecting an invalid one

When o2net-accept-one() rejects an illegal connection, it terminates the
loop picking up the remaining queued connections.  This fix will continue
accepting connections till the queue is emtpy.

Addresses Orabug 17489469.

Signed-off-by: Tariq Saseed <tariq.x.saeed@oracle.com>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/cluster/tcp.c