rcld: Reserve buffer_id 0 for NULL buffers

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
rpc: Fix double free when creation of a client fails

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
rcld: Add sanity check for work dimensions

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
rcld: Make sure buffer size is larger than 0

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
rpc: Do not keep error codes that are ignored anyway

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>