On Saturday, February 24, 2018 12:03:36 PM CET Sven Eckelmann wrote:
The function batadv_bla_claim_dump_bucket must be able
to handle
non-complete dumps of a single bucket. It tries to do that by saving the
latest dumped index in *idx_skip to inform the caller about the current
state.
But the caller only assumes that buckets were not completely dumped when
the return code is non-zero. This function must therefore also return a
non-zero index when the dumping of an entry failed. Otherwise the caller
will just skip all remaining buckets.
And the function must also reset *idx_skip back to zero when it finished a
bucket. Otherwise it will skip the same number of entries in the next
bucket as the previous one had.
I've applied both patches in this series in 49197c00 and 29e4759e.
Thank you!
Simon