Thread (6 messages) flat view 6 messages, 3 authors, 2017-01-03

Re: [PATCH] drop_monitor: consider inserted data in genlmsg_end

From: David Miller <davem@davemloft.net>
Date: 2017-01-03 14:55:10
Also in: lkml

From: Reiter Wolfgang <redacted>
Date: Tue,  3 Jan 2017 01:39:10 +0100
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 <redacted>
I don't understand why the current code doesn't work properly.

All over the tree, the pattern is:

	x = genlmsg_put(skb, ...);
	...
	genlmsg_end(skb, x);

And that is exactly what the code is doing right now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help