(no subject)

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Fri Feb 14 2003 - 20:53:53 EST

Subject: Re: Routing problem with udp, and a multihomed host in 2.4.20
In-Reply-To: message from Herbert Xu on Saturday February 15
References: <15948.13879.734412.313081@notabene.cse.unsw.edu.au>
X-Mailer: VM 7.07 under Emacs 20.7.2
FCC: ~/.mail/linux
X-face: [Gw_3E*Gng}4rRrKRYotwlE?.2|**#s9D<ml'fY1Vw+@XfR[fRCsUoP?K6bt3YD\ui5Fh?f
--text follows this line--
On Saturday February 15, herbert@gondor.apana.org.au wrote:
> Neil Brown <neilb@cse.unsw.edu.au> wrote:
> >
> > It turns out that the problem occurs when send_msg is used to send a
> > UDP packet, and the control information contains
> > struct in_pktinfo {
> > unsigned int ipi_ifindex; /* Interface index */
> > struct in_addr ipi_spec_dst; /* Local address */
> > struct in_addr ipi_addr; /* Header Destination address */
> > };
> > specifying the address and interface of the message that we are
> > replying to.
> So your application is forcing the packet to go out on a specific
> interface bypassing the routing table...

My application (which is just using standard rpc server libraries) is
  "This is in reply to a request that came in through a given

It is not reasonable to treat that statement as equivalent to:
  "This packet must go out that interface"

which is what appears to be happening.


> --
> Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
> Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:01:00 EST