Re: [ovs-dev] [PATCH] ofp-parse: Handle buffer resize when parsing actions

2014-04-07 Thread Jarno Rajahalme
Thanks for catching this, Simon. Pushed to master, Jarno Acked-by: Jarno Rajahalme On Apr 7, 2014, at 1:43 AM, Simon Horman wrote: > A call to ofpbuf_put() may cause the data of the passed to be resized and > its base address to change. Thus the address returned by ofpbuf_put() > should

[ovs-dev] [PATCH] ofp-parse: Handle buffer resize when parsing actions

2014-04-07 Thread Simon Horman
A call to ofpbuf_put() may cause the data of the passed to be resized and its base address to change. Thus the address returned by ofpbuf_put() should be used as the base address rather than relying on the base address prior to ofpbuf_put(). This avoids the following assertion in ofpact_update_le