summaryrefslogtreecommitdiff
path: root/fs/jffs2/debug.h
diff options
context:
space:
mode:
authorTristan Ye <tristan.ye@oracle.com>2010-08-02 06:00:26 +0400
committerJoel Becker <joel.becker@oracle.com>2010-08-07 21:50:33 +0400
commit415cf32c9cdfcc60f34d0ac17f29634e941ba7d2 (patch)
tree56675497e07772f99bd375a9f74542e3a12f2f37 /fs/jffs2/debug.h
parentb11f1f1ab73fd358b1b734a9427744802202ba68 (diff)
downloadlinux-415cf32c9cdfcc60f34d0ac17f29634e941ba7d2.tar.xz
O2net: Disallow o2net accept connection request from itself.
Currently, o2net_accept_one() is allowed to accept a connection from listening node itself, such a fake connection will not be successfully established due to no handshake detected afterwards, and later end up with triggering connecting worker in a loop. We're going to fix this by treating such connection request as 'invalid', since we've got no chance of requesting connection from a node to itself in a OCFS2 cluster. The fix doesn't hurt user's scan for o2net-listener, it always gets a successful connection from userpace. Signed-off-by: Tristan Ye <tristan.ye@oracle.com> Acked-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/jffs2/debug.h')
0 files changed, 0 insertions, 0 deletions