[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080822.045447.208480125.davem@davemloft.net>
Date: Fri, 22 Aug 2008 04:54:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vladislav.yasevich@...com
Cc: yanghy@...fujitsu.com, netdev@...r.kernel.org,
yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH] IPv6:fix the return interface index when get it while
no message is received
From: Vlad Yasevich <vladislav.yasevich@...com>
Date: Wed, 20 Aug 2008 09:10:34 -0400
> Yang Hongyang wrote:
> > Vlad Yasevich wrote:
> >> We are returning np->daddr, which is the peer address.
> >>
> >> The expected value is "destination of the received packet". In the worst case,
> >> it should be the locally bound address. In the correct case, it should be the
> >> address set in the sticky options if such is set. It really should be 0::0, if there
> >> are no sticky options and no packets have been received.
> >
> > Since here we do not recive any packet,we should return
> > src_info.ipi6_ifindex=0 and src_info.ipi6_addr=0::0,right?
>
> That's what I've done in other implementations.
I'm patiently waiting for a patch to fix this.
Thanks :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists