sd-rtnl: recv_message - drop message when peeking fails
authorTom Gundersen <teg@jklm.no>
Sun, 28 Dec 2014 23:24:00 +0000 (00:24 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 29 Dec 2014 00:59:49 +0000 (01:59 +0100)
commitc7460cce79fd358f2745bd390bd2e7ded450ee62
tree83c758ae1662024ddc461151870d53b6aa4044ad
parent0b2bbbdf2f77d685a12862b96e764ac5f1ef8046
sd-rtnl: recv_message - drop message when peeking fails

Read the message form the socket or we will loop trying to read the
same message repeatedly.
src/libsystemd/sd-rtnl/rtnl-message.c