]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae752d5e684d7576a5d788ee91781b89aa85d38c
tree566a713482b2537015b88fe3ef76f295fcac4b24
parentda5f99c8dbfb078bbac7f2aaa94796fd33533f50
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