Re: [PATCH net] net: fix pos incrementment in ipv6_route_seq_next

2020-10-13 Thread Yonghong Song
On 10/12/20 11:56 PM, Vasily Averin wrote: Dear Yonghong Song, thank you for reporting the problem. As far as I understand the problem here is that pos is incremented in .start function. Yes. I do not,like an idea to avoid increment in ipv6_route_seq_next() however ipv6_route_seq_start c

Re: [PATCH net] net: fix pos incrementment in ipv6_route_seq_next

2020-10-12 Thread Vasily Averin
Dear Yonghong Song, thank you for reporting the problem. As far as I understand the problem here is that pos is incremented in .start function. I do not,like an idea to avoid increment in ipv6_route_seq_next() however ipv6_route_seq_start can provide fake argument instead. --- a/net/ipv6/ip6_fi