Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1196392

Re: [PATCH net-next 2/9] openvswitch: Serialize acts with original netlink len

From Thomas Graf <tgraf@suug.ch>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 2/9] openvswitch: Serialize acts with original netlink len
Date 2015-07-30 21:40 +0200
Message-ID <pS1Qm-7Sq-7@gated-at.bofh.it> (permalink)
References <pS0AV-6aH-5@gated-at.bofh.it> <pS0AW-6aH-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/30/15 at 11:12am, Joe Stringer wrote:
> Previously, we used the kernel-internal netlink actions length to
> calculate the size of messages to serialize back to userspace.
> However,the sw_flow_actions may not be formatted exactly the same as the
> actions on the wire, so store the original actions length when
> de-serializing and re-use the original length when serializing.
> 
> Signed-off-by: Joe Stringer <joestringer@nicira.com>

Acked-by: Thomas Graf <tgraf@suug.ch>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH net-next 2/9] openvswitch: Serialize acts with original  netlink len Thomas Graf <tgraf@suug.ch> - 2015-07-30 21:40 +0200

csiph-web