Re: [PATCH net-next 0/8] netlink: align attributes when needed (patchset #3)

From
David Miller <hidden>
Date
2016-04-26 16:25:20
Also in
linux-wireless, lkml
Reply to
Lars Ellenberg, 2016-04-26
From: Lars Ellenberg <lars.ellenberg@linbit.com>
Date: Tue, 26 Apr 2016 13:54:27 +0200
On Tue, Apr 26, 2016 at 10:06:10AM +0200, Nicolas Dichtel wrote:
quoted
This is the continuation (series #3) of the work done to align netlink
attributes when these attributes contain some 64-bit fields.

It's the last patchset from what I've seen.

The last user of nla_put_u64() is block/drbd. This module does not use
standard netlink API (see all the stuff in include/linux/genl_magic_struct.h
and include/linux/genl_magic_func.h). I didn't modify it because it's seems
hard to do it whithout testing and fully understanding the context
Something like this should just work.
Unfortunately we had problems using unspec, that's why an explicit new
padding attribute is added for each netlink attribute set.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Thread (39 messages) 39 messages, 5 authors, last reply 2016-05-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help