diff options
author | David S. Miller <davem@davemloft.net> | 2015-01-19 05:36:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-19 05:36:08 +0100 |
commit | 7b46a644a407f9f2f1c8f7b2af157c79af55b49e (patch) | |
tree | 5db384821399a6e07abd70a61cc0afd454144e27 /net/batman-adv/sysfs.h | |
parent | switchdev: fix typo in inline function definition (diff) | |
download | linux-7b46a644a407f9f2f1c8f7b2af157c79af55b49e.tar.xz linux-7b46a644a407f9f2f1c8f7b2af157c79af55b49e.zip |
netlink: Fix bugs in nlmsg_end() conversions.
Commit 053c095a82cf ("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: Marcel Holtmann <marcel@holtmann.org>
Reported-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/sysfs.h')
0 files changed, 0 insertions, 0 deletions