From: Rusty Russell Date: Thu, 28 Feb 2019 05:25:29 +0000 (+1030) Subject: ccan/io: keep always pointers to plans, not a linked list. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=a5881c0deb210f56c2095366ae6cdabd5230d68d;hp=a5881c0deb210f56c2095366ae6cdabd5230d68d ccan/io: keep always pointers to plans, not a linked list. Duplex io_conns can be in the always list twice, and it was a source of bugs, but I didn't want to add a second list_node. Since there are not many always at once, it's better (and more space-efficient) to use a simple pointer array. Signed-off-by: Rusty Russell ---