ocfs2/o2net: incorrect to terminate accepting connections loop upon rejecting an...
authorTariq Saeed <tariq.x.saeed@oracle.com>
Tue, 10 Jun 2014 22:18:38 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Jun 2014 22:34:46 +0000 (15:34 -0700)
commit79deb3c148e0ed0ac3dab9e953777b096d58b443
tree566a713482b2537015b88fe3ef76f295fcac4b24
parent1d21b1bf53f81256002f93387ec80ca13e3c5a8f
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>
Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/cluster/tcp.c