[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191126.151417.221231165879328487.davem@davemloft.net>
Date: Tue, 26 Nov 2019 15:14:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, joestringer@...ira.com, pshelar@....org
Subject: Re: [PATCH net] openvswitch: fix flow command message size
From: Paolo Abeni <pabeni@...hat.com>
Date: Tue, 26 Nov 2019 12:55:50 +0100
> When user-space sets the OVS_UFID_F_OMIT_* flags, and the relevant
> flow has no UFID, we can exceed the computed size, as
> ovs_nla_put_identifier() will always dump an OVS_FLOW_ATTR_KEY
> attribute.
> Take the above in account when computing the flow command message
> size.
>
> Reported-by: Qi Jun Ding <qding@...hat.com>
> Fixes: 74ed7ab9264c ("openvswitch: Add support for unique flow IDs.")
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists