chiark / gitweb /
sd-device: fix deserialization from netlink
authorTom Gundersen <teg@jklm.no>
Fri, 3 Apr 2015 19:04:48 +0000 (21:04 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 06:48:25 +0000 (07:48 +0100)
commitc07733f7e14a3a1ff86b0fa5595c88058a78f613
tree2dccb2e08a64fe013fc0359067f78d8200095c47
parent9e38b5f64afd34bf36b4134c108207b918b93159
sd-device: fix deserialization from netlink

Use the standard FOREACH_WORD* macros.

The current code was broken in the devlink case so the last one received
was being dropped, causing https://bugs.freedesktop.org/show_bug.cgi?id=89894
src/libelogind/sd-device/device-private.c