Re: [PATCH net v2 2/2] ipv6: properly check return value in inet6_dump_all()

2018-11-05 Thread David Miller
From: Alexey Kodanev Date: Fri, 2 Nov 2018 19:11:05 +0300 > Make sure we call fib6_dump_end() if it happens that skb->len > is zero. rtnl_dump_all() can reset cb->args on the next loop > iteration there. > > Fixes: 08e814c9e8eb ("net/ipv6: Bail early if user only wants cloned entries") > Fixes:

[PATCH net v2 2/2] ipv6: properly check return value in inet6_dump_all()

2018-11-02 Thread Alexey Kodanev
Make sure we call fib6_dump_end() if it happens that skb->len is zero. rtnl_dump_all() can reset cb->args on the next loop iteration there. Fixes: 08e814c9e8eb ("net/ipv6: Bail early if user only wants cloned entries") Fixes: ae677bbb4441 ("net: Don't return invalid table id error when dumping all