]> git.baikalelectronics.ru Git - kernel.git/commit
drop_monitor: consider inserted data in genlmsg_end
authorReiter Wolfgang <wr0112358@gmail.com>
Tue, 3 Jan 2017 00:39:10 +0000 (01:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jan 2017 16:09:44 +0000 (11:09 -0500)
commit3b48ab2248e61408910e792fe84d6ec466084c1a
treedeabffe774faf6423b9961ed234d3104e9741a06
parent096de2f83ebc8e0404c5b7e847a4abd27b9739da
drop_monitor: consider inserted data in genlmsg_end

Final nlmsg_len field update must reflect inserted net_dm_drop_point
data.

This patch depends on previous patch:
"drop_monitor: add missing call to genlmsg_end"

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