[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 07 Aug 2008 23:03:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanghy@...fujitsu.com
Cc: yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org
Subject: Re: [PATCH] IPv6:fix the return interface index when get it while
no message is received
From: Yang Hongyang <yanghy@...fujitsu.com>
Date: Fri, 08 Aug 2008 13:59:54 +0800
> Yang Hongyang wrote:
> > when I use getsockopt(sk, IPPROTO_IPV6, IPV6_2292PKTOPTIONS,(char *)incmsg, &cnt)
> > to get receiving interface index while no message is received,
> >
> > What interface index should be returned?
>
> When get receiving interface index while no message is received,
> the bounded device's index of the socket should be returned?
>
> Signed-off-by: Yang Hongyang<yanghy@...fujitsu.com>
To me it seems to be an undefined operation.
One cannot expect something valid from this socket option until a
packet really is received on the socket.
--
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