Skip to content
Commit 7b46a644 authored by David S. Miller's avatar David S. Miller
Browse files

netlink: Fix bugs in nlmsg_end() conversions.



Commit 053c095a ("netlink: make nlmsg_end() and genlmsg_end()
void") didn't catch all of the cases where callers were breaking out
on the return value being equal to zero, which they no longer should
when zero means success.

Fix all such cases.

Reported-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Reported-by: default avatarScott Feldman <sfeldma@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27c00132
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment