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

2020-10-14 Thread Eric Dumazet
On 10/13/20 8:31 PM, Yonghong Song wrote: > Commit 4fc427e05158 ("ipv6_route_seq_next should increase position index") > tried to fix the issue where seq_file pos is not increased > if a NULL element is returned with seq_ops->next(). See bug > https://bugzilla.kernel.org/show_bug.cgi?id=206283

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

2020-10-13 Thread Vasily Averin
On 10/13/20 9:31 PM, Yonghong Song wrote: > Commit 4fc427e05158 ("ipv6_route_seq_next should increase position index") > tried to fix the issue where seq_file pos is not increased > if a NULL element is returned with seq_ops->next(). See bug > https://bugzilla.kernel.org/show_bug.cgi?id=206283 >

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

2020-10-13 Thread Yonghong Song
Commit 4fc427e05158 ("ipv6_route_seq_next should increase position index") tried to fix the issue where seq_file pos is not increased if a NULL element is returned with seq_ops->next(). See bug https://bugzilla.kernel.org/show_bug.cgi?id=206283 The commit effectively does: - increase pos for al