From: David S. Miller Date: Mon, 19 Jan 2015 04:36:08 +0000 (-0500) Subject: netlink: Fix bugs in nlmsg_end() conversions. X-Git-Tag: fixes-v4.0-rc1~150^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b46a644a407f9f2f1c8f7b2af157c79af55b49e;p=pandora-kernel.git 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 Reported-by: Scott Feldman Signed-off-by: David S. Miller --- Reading git-diff-tree failed