Re: [ovs-dev] [PATCH] openvswitch: fix flow actions reallocation

2019-03-27 Thread Andrea Righi
On Wed, Mar 27, 2019 at 08:43:54PM -0700, Pravin Shelar wrote: > On Wed, Mar 27, 2019 at 3:11 PM Andrea Righi > wrote: > > > > The flow action buffer can be resized if it's not big enough to contain > > all the requested flow actions. However, this resize doesn't take into > > account the new

Re: [ovs-dev] [PATCH] openvswitch: fix flow actions reallocation

2019-03-27 Thread Pravin Shelar
On Wed, Mar 27, 2019 at 3:11 PM Andrea Righi wrote: > > The flow action buffer can be resized if it's not big enough to contain > all the requested flow actions. However, this resize doesn't take into > account the new requested size, the buffer is only increased by a factor > of 2x. This might

[ovs-dev] [PATCH] openvswitch: fix flow actions reallocation

2019-03-27 Thread Andrea Righi
The flow action buffer can be resized if it's not big enough to contain all the requested flow actions. However, this resize doesn't take into account the new requested size, the buffer is only increased by a factor of 2x. This might be not enough to contain the new data, causing a buffer