Re: [PATCH net] ipv6: Use global sernum for dst validation with nexthop objects
From: David Ahern Date: Wed, 29 Apr 2020 12:45:42 -0600 > --- a/net/ipv6/route.c > +++ b/net/ipv6/route.c ... > +static inline bool rt6_is_valid(const struct rt6_info *rt6) Please don't use inline in foo.c files. Thanks.
[PATCH net] ipv6: Use global sernum for dst validation with nexthop objects
Nik reported a bug with pcpu dst cache when nexthop objects are used illustrated by the following: $ ip netns add foo $ ip -netns foo li set lo up $ ip -netns foo addr add 2001:db8:11::1/128 dev lo $ ip netns exec foo sysctl net.ipv6.conf.all.forwarding=1 $ ip li add veth1 type