Andriy Gapon ebeb6f23bf Always refuse receving non-resume stream when resume state exists
This fixes a hole in the situation where the resume state is left from
receiving a new dataset and, so, the state is set on the dataset itself
(as opposed to %recv child).

Additionally, distinguish incremental and resume streams in error
messages.

Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andriy Gapon <avg@FreeBSD.org>
Closes #9252
2019-09-03 10:56:55 -07:00
..
2019-08-30 14:32:18 -07:00
2019-08-30 14:26:07 -07:00
2019-08-30 14:32:18 -07:00
2019-08-30 14:32:18 -07:00
2019-08-30 14:32:18 -07:00
2018-05-29 16:00:33 -07:00
2019-08-30 14:32:18 -07:00