metadata: fix seqnum on kernel notifications
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 7 Jan 2015 19:38:02 +0000 (20:38 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 7 Jan 2015 19:38:02 +0000 (20:38 +0100)
commit78e35f2fabbf31b158b4f15ffaff9ab0915a305d
treebb719a6cf8ddb10a58029ef4028e124ef94409ea
parent2e4d020a8d4e1ca101af87eacd65617a95fabfad
metadata: fix seqnum on kernel notifications

The seqnum ID is passed together with the timestamps. Therefore, move the
"u64 seq" argument to kdbus_meta_add_timestamp(). As the seqnum is not
known at message allocation time, we now also move the
kdbus_meta_add_timestamp() to the time we actually allocate the ID.

This fixes seqnum IDs on kernel notifications.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
bus.c
connection.c
message.c
metadata.c
metadata.h
notify.c