[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080817.232202.06571162.davem@davemloft.net>
Date: Sun, 17 Aug 2008 23:22:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanghy@...fujitsu.com
Cc: 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: Yang Hongyang <yanghy@...fujitsu.com>
Date: Mon, 18 Aug 2008 14:07:41 +0800
> When get receiving interface index while no message is received,
> the bounded device's index of the socket should be returned.
>
> RFC 3542:
> Issuing getsockopt() for the above options will return the sticky
> option value i.e., the value set with setsockopt(). If no sticky
> option value has been set getsockopt() will return the following
> values:
>
> - For the IPV6_PKTINFO option, it will return an in6_pktinfo
> structure with ipi6_addr being in6addr_any and ipi6_ifindex being
> zero.
>
>
> Signed-off-by: Yang Hongyang<yanghy@...fujitsu.com>
Applied, thanks Yang.
--
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