On Wed, Sep 16, 2020 at 10:39 AM Greg Rose <[email protected]> wrote: > > From: Paolo Abeni <[email protected]> > > Upstream commit: > commit 4e81c0b3fa93d07653e2415fa71656b080a112fd > Author: Paolo Abeni <[email protected]> > Date: Tue Nov 26 12:55:50 2019 +0100 > > openvswitch: fix flow command message size > > 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. > > Fixes: 74ed7ab9264c ("openvswitch: Add support for unique flow IDs.") > Reported-by: Qi Jun Ding <[email protected]> > Signed-off-by: Paolo Abeni <[email protected]> > Signed-off-by: David S. Miller <[email protected]> > > Cc: Paolo Abeni <[email protected]> > Signed-off-by: Greg Rose <[email protected]> > --- LGTM
Acked-by: Yi-Hung Wei <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
