Re: [ovs-dev] [PATCH] netlink: Do not enforce alignment of last Netlink attribute

2013-11-12 Thread Jesse Gross
On Mon, Nov 11, 2013 at 11:42 PM, Ben Pfaff wrote: > On Mon, Nov 11, 2013 at 12:11:36PM +0100, Thomas Graf wrote: >> There is no reason to enforce padding after the last attribute. >> Dropping this enforcement will ease efforts to implement zerocopy >> upcall. >> >> Signed-off-by: Thomas Graf > >

Re: [ovs-dev] [PATCH] netlink: Do not enforce alignment of last Netlink attribute

2013-11-11 Thread Ben Pfaff
On Mon, Nov 11, 2013 at 12:11:36PM +0100, Thomas Graf wrote: > There is no reason to enforce padding after the last attribute. > Dropping this enforcement will ease efforts to implement zerocopy > upcall. > > Signed-off-by: Thomas Graf This looks correct from a userspace point of view, so: Acked

[ovs-dev] [PATCH] netlink: Do not enforce alignment of last Netlink attribute

2013-11-11 Thread Thomas Graf
There is no reason to enforce padding after the last attribute. Dropping this enforcement will ease efforts to implement zerocopy upcall. Signed-off-by: Thomas Graf --- lib/netlink.h | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/netlink.h b/lib/netlink.h