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

2019-03-28 Thread David Miller
From: Andrea Righi Date: Thu, 28 Mar 2019 07:36:00 +0100 > 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

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

2019-03-28 Thread Pravin Shelar
On Wed, Mar 27, 2019 at 11:36 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 v2] openvswitch: fix flow actions reallocation

2019-03-28 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