[<prev] [next>] [<thread-prev] [thread-next>] [month] [year] [list]
Date: Mon, 02 Jun 2008 17:20:09 +0900 (JST)
From: YOSHIFUJI Hideaki / .$B5HF#1QL@.(B
<yoshfuji@...ux-ipv6.org>
To: shanwei@...fujitsu.com
Subject: Re: [PATCH] IPv6: fix bug when specifying the non-exist outgoing
interface
In article <4843AB51.6010206@...fujitsu.com> (at Mon, 02 Jun 2008 16:12:01 +0800), Shan Wei <shanwei@...fujitsu.com> says:
> When specifying the outgoing interface with sendmsg, if the ipi6_addr is
> the unspecified address and the ipi6_ifindex is the not-exist interface,
> it should be fail and the errno should be set ENODEV.
> Actually, it does well(sendmsg returns on success ), because the kernel
> don't check the interface¡£
>
> The patch is against 2.6.26-rc4.
Please fix dev leakage.
--yoshfuji
Hosted by DataForce ISP -
Powered by Openwall GNU/*/Linux