]> git.karo-electronics.de Git - linux-beck.git/commit
drop_monitor: add missing call to genlmsg_end
authorReiter Wolfgang <wr0112358@gmail.com>
Sat, 31 Dec 2016 20:11:57 +0000 (21:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 12:42:54 +0000 (13:42 +0100)
commit9f7551e05b0f59c09bf0ef8277e3364449feacb6
tree45d9a4b74c268eb2d68126e8e2856184882ba98d
parenta8a213f296ae0287e2f46a251e10a88f2c30ba61
drop_monitor: add missing call to genlmsg_end

[ Upstream commit 4200462d88f47f3759bdf4705f87e207b0f5b2e4 ]

Update nlmsg_len field with genlmsg_end to enable userspace processing
using nlmsg_next helper. Also adds error handling.

Signed-off-by: Reiter Wolfgang <wr0112358@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/drop_monitor.c