Alexey Kodanev e22d0bfa09 ipv6: properly check return value in inet6_dump_all()
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 families")
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-05 17:04:54 -08:00
..
2018-10-23 10:57:06 -07:00
2018-07-24 14:10:42 -07:00
2018-10-31 14:42:31 -07:00
2018-08-13 20:45:49 -07:00
2018-10-22 19:59:20 -07:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00