From: Bhaskar Dutta <bhaskie@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Wrong IP address showing up in SCTP peer address notification for
Date: Thu, 21 Jan 2010 12:21:07 +0000 [thread overview]
Message-ID: <571fb4001001210409s52abed68jf3aa1ff9cdf83808@mail.gmail.com> (raw)
Hi,
While testing out SCTP multihoming, I have run into an issue with the
wrong IP address showing up in the notification received from the SCTP
stack by an application.
I am using kernel 2.6.27 (SuSE 11.1 on 64-bit)
The remote end (IP-A) sends out two IP addresses (A and B) in the INIT-ACK.
I remove the network cable for A and heartbeats fail as expected.
But application receives a notification for B instead of A.
Heartbeats to B are ack'ed and can be seen in the packet traces, and
heartbeats to A are not ack'ed.
10.214.64.100 --- INIT ---> 10.214.65.200 (A)
(A) 10.214.65.200 --- INIT-ACK ---> 10.214.64.100
INIT-ACK contains: IPv4 address params:
A - 10.214.65.200 (vlan1)
B - 10.215.65.200 (vlan2)
10.214.64.100 --- HEARTBEAT ---> 10.214.65.200 (A) - (Heartbeat fails
since ethernet wire to 10.214.65.200 is pulled out from switch)
No heartbeat-ack received from IP-A.
Application receives SCTP_PEER_ADDR_CHANGE notification with state
SCTP_ADDR_UNREACHABLE for
10.215.65.200 (B) instead of IP-A.
Any help would be appreciated.
Thanks,
Bhaskar
reply other threads:[~2010-01-21 12:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=571fb4001001210409s52abed68jf3aa1ff9cdf83808@mail.gmail.com \
--to=bhaskie@gmail.com \
--cc=linux-sctp@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).