Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes

2006-07-30 Thread David Miller
From: YOSHIFUJI Hideaki [EMAIL PROTECTED] Date: Fri, 28 Jul 2006 18:25:34 +0900 (JST) Changesets, on top of 2.6.18-rc2, are available on branch addr-lifetime-20060728b at: git://git.skbuff.net/gitroot/yoshfuji/linux-2.6.18-rc2-addr-lifetime Pulled, thank you very much. - To unsubscribe

Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes

2006-07-28 Thread David Miller
From: Noriaki TAKAMIYA [EMAIL PROTECTED] Date: Thu, 27 Jul 2006 19:49:29 +0900 (JST) Thu, 27 Jul 2006 11:28:02 +0100 [Subject: Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes] wrote... Hugo Santos [EMAIL PROTECTED] wrote... + ifp = ipv6_get_ifaddr(pfx, dev, 1); + if (ifp == NULL

Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes

2006-07-28 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Fri, 28 Jul 2006 01:11:03 -0700 (PDT)), David Miller [EMAIL PROTECTED] says: Besides this correction, the rest of the changes look fine to me. I think we should get these fixes into 2.6.18, if you don't mind. So please resubmit with the correction. Okay.

Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes

2006-07-28 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Fri, 28 Jul 2006 17:18:18 +0900 (JST)), YOSHIFUJI Hideaki [EMAIL PROTECTED] says: In article [EMAIL PROTECTED] (at Fri, 28 Jul 2006 01:11:03 -0700 (PDT)), David Miller [EMAIL PROTECTED] says: Besides this correction, the rest of the changes look fine to

[RFC] [IPV6] ADDRCONF: Lifetime handling fixes

2006-07-27 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. Based on MIPL kernel patch, these changesets contain following: - fix payload length checking - fix infinity lifetime handling - add/modify finity lifetime from userspace This is only for review. Comments appreciated. We will prepare another round. (To Ville and Antti: please send me

Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes

2006-07-27 Thread Hugo Santos
Hi, static int +inet6_addr_modify(int ifindex, struct in6_addr *pfx, + __u32 prefered_lft, __u32 valid_lft) +{ ... + ifp = ipv6_get_ifaddr(pfx, dev, 1); + if (ifp == NULL) + return -ENOENT; + + if (!valid_lft || (prefered_lft valid_lft)) +

Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes

2006-07-27 Thread Noriaki TAKAMIYA
Hi, This is Takamiya, from USAGI Project. Thu, 27 Jul 2006 11:28:02 +0100 [Subject: Re: [RFC] [IPV6] ADDRCONF: Lifetime handling fixes] wrote... Hugo Santos [EMAIL PROTECTED] wrote... + ifp = ipv6_get_ifaddr(pfx, dev, 1); + if (ifp == NULL) + return -ENOENT