chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sd-rtnl: use GREEDY_REALLOC for message queues
[elogind.git]
/
src
/
libsystemd
/
sd-rtnl
/
rtnl-internal.h
diff --git
a/src/libsystemd/sd-rtnl/rtnl-internal.h
b/src/libsystemd/sd-rtnl/rtnl-internal.h
index 8aa2300835d54e706ff457b2b8dfc3cd5ef038d3..9003dad312c09b7b37191afe24abe9681732a54f 100644
(file)
--- 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;