Re: [PATCH RFC net-next 10/20] net/ipv6: move expires into rt6_info

2018-02-28 Thread Martin KaFai Lau
On Wed, Feb 28, 2018 at 03:25:02PM -0700, David Ahern wrote: > On 2/28/18 12:21 PM, Martin KaFai Lau wrote: > > On Mon, Feb 26, 2018 at 03:55:14PM -0700, David Ahern wrote: > >> On 2/26/18 3:28 PM, Wei Wang wrote: > @@ -213,11 +234,6 @@ static inline void rt6_set_expires(struct rt6_info >

Re: [PATCH RFC net-next 10/20] net/ipv6: move expires into rt6_info

2018-02-28 Thread David Ahern
On 2/28/18 12:21 PM, Martin KaFai Lau wrote: > On Mon, Feb 26, 2018 at 03:55:14PM -0700, David Ahern wrote: >> On 2/26/18 3:28 PM, Wei Wang wrote: @@ -213,11 +234,6 @@ static inline void rt6_set_expires(struct rt6_info *rt, unsigned long expires) static inline void

Re: [PATCH RFC net-next 10/20] net/ipv6: move expires into rt6_info

2018-02-28 Thread Martin KaFai Lau
On Mon, Feb 26, 2018 at 03:55:14PM -0700, David Ahern wrote: > On 2/26/18 3:28 PM, Wei Wang wrote: > >> @@ -213,11 +234,6 @@ static inline void rt6_set_expires(struct rt6_info > >> *rt, unsigned long expires) > >> > >> static inline void rt6_update_expires(struct rt6_info *rt0, int timeout) > >>

Re: [PATCH RFC net-next 10/20] net/ipv6: move expires into rt6_info

2018-02-26 Thread Wei Wang
On Mon, Feb 26, 2018 at 2:55 PM, David Ahern wrote: > On 2/26/18 3:28 PM, Wei Wang wrote: >>> @@ -213,11 +234,6 @@ static inline void rt6_set_expires(struct rt6_info >>> *rt, unsigned long expires) >>> >>> static inline void rt6_update_expires(struct rt6_info *rt0, int

Re: [PATCH RFC net-next 10/20] net/ipv6: move expires into rt6_info

2018-02-26 Thread David Ahern
On 2/26/18 3:28 PM, Wei Wang wrote: >> @@ -213,11 +234,6 @@ static inline void rt6_set_expires(struct rt6_info *rt, >> unsigned long expires) >> >> static inline void rt6_update_expires(struct rt6_info *rt0, int timeout) >> { >> - struct rt6_info *rt; >> - >> - for (rt = rt0; rt &&

Re: [PATCH RFC net-next 10/20] net/ipv6: move expires into rt6_info

2018-02-26 Thread Wei Wang
On Sun, Feb 25, 2018 at 11:47 AM, David Ahern wrote: > Add expires to rt6_info for FIB entries, and add fib6 helpers to > manage it. Data path use of dst.expires remains. > > Signed-off-by: David Ahern > --- > include/net/ip6_fib.h | 26

[PATCH RFC net-next 10/20] net/ipv6: move expires into rt6_info

2018-02-25 Thread David Ahern
Add expires to rt6_info for FIB entries, and add fib6 helpers to manage it. Data path use of dst.expires remains. Signed-off-by: David Ahern --- include/net/ip6_fib.h | 26 +- net/ipv6/addrconf.c | 6 +++--- net/ipv6/ip6_fib.c| 8