summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/rtnl-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-04-10 19:00:30 +0200
committerTom Gundersen <teg@jklm.no>2014-04-10 19:00:36 +0200
commit77768cbabc97d27535bd5329a11490f5c35a63f3 (patch)
treeb759e58f6a1d0d3c7c52a3491e0f4fec2e0549a6 /src/libsystemd/sd-rtnl/rtnl-internal.h
parentd47e1de40e410ab2149918c3269038d2c264b01d (diff)
sd-rtnl: use GREEDY_REALLOC for message queues
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-internal.h')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-internal.h b/src/libsystemd/sd-rtnl/rtnl-internal.h
index 8aa2300835..9003dad312 100644
--- a/src/libsystemd/sd-rtnl/rtnl-internal.h
+++ b/src/libsystemd/sd-rtnl/rtnl-internal.h
@@ -66,9 +66,11 @@ struct sd_rtnl {
sd_rtnl_message **rqueue;
unsigned rqueue_size;
+ size_t rqueue_allocated;
sd_rtnl_message **wqueue;
unsigned wqueue_size;
+ size_t wqueue_allocated;
bool processing:1;