From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/1] O2net: Disallow o2net accept connection request from itself.
Date: Sat, 7 Aug 2010 11:40:47 -0700 [thread overview]
Message-ID: <20100807184047.GG3699@mail.oracle.com> (raw)
In-Reply-To: <1280714426-13449-1-git-send-email-tristan.ye@oracle.com>
On Mon, Aug 02, 2010 at 10:00:26AM +0800, Tristan Ye wrote:
> 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>
This patch is now in the fixes branch of ocfs2.git.
Joel
--
"There are only two ways to live your life. One is as though nothing
is a miracle. The other is as though everything is a miracle."
- Albert Einstein
Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
next prev parent reply other threads:[~2010-08-07 18:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 2:00 [Ocfs2-devel] [PATCH 1/1] O2net: Disallow o2net accept connection request from itself Tristan Ye
2010-08-02 3:00 ` Sunil Mushran
2010-08-07 18:40 ` Joel Becker [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-07-30 8:25 Tristan Ye
2010-07-30 17:27 ` Sunil Mushran
2010-07-29 11:04 Tristan Ye
2010-07-29 12:07 ` Sunil Mushran
2010-07-30 2:12 ` tristan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100807184047.GG3699@mail.oracle.com \
--to=joel.becker@oracle.com \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.