]> 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, 24 Apr 2014 22:55:30 +0000 (08:55 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 24 Apr 2014 22:55:30 +0000 (08:55 +1000)
commit9ad00f1484eace6891476e0581f6caba756a973c
tree9a2eaffeb2adc6c0b5f2845479ca52722d95ba39
parent3a5b964484a3d7a141dc3e8c856e24768db039ca
ocfs2/o2net: incorrect to terminate accepting connections loop upon rejecting an invalid one

Orabug: 17489469

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.

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