chiark / gitweb /
bus: remarshal kdbus messages received from the kernel
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 11 Mar 2015 15:30:59 +0000 (16:30 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 11 Mar 2015 15:36:41 +0000 (16:36 +0100)
commit908b8a42e645887f1ab0616c1fc018ecc8ece91f
treef068f57c20fcbc013a33b1d688b8bc956a75c8f4
parent8b9972db83c774ff8b9fc0bb95dc06e5658aae98
bus: remarshal kdbus messages received from the kernel

If we receive an sd_bus_message from the kernel, m->kdbus will contain
additional items that cannot be used when sending a message. Therefore,
always remarshal the message if it is used again.
src/libsystemd/sd-bus/sd-bus.c