ctdb-protocol: Drop buffer allocation from protocol push functions
authorAmitay Isaacs <amitay@gmail.com>
Thu, 21 Apr 2016 15:08:11 +0000 (01:08 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 3 May 2016 02:43:20 +0000 (04:43 +0200)
commitbf9b0b992a4e4e6307899c3f1cf05f393d3a8e16
tree73d7c1a6ef16431642084fb2d5ca8255279863c9
parent088587259e2cbfd6878b0680f24db00090e606b5
ctdb-protocol: Drop buffer allocation from protocol push functions

This means that the packet allocation will happen just before push
functions are called.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/client/client_call.c
ctdb/client/client_control.c
ctdb/client/client_message.c
ctdb/protocol/protocol_api.h
ctdb/protocol/protocol_call.c
ctdb/protocol/protocol_control.c
ctdb/protocol/protocol_message.c
ctdb/tests/src/protocol_client_test.c