datapath: Backport: openvswitch: Fix serialization of non-masked set actions.
I found this missing commit while checking diff against upstream OVS. Upstream Commit msg: Set actions consist of a regular OVS_KEY_ATTR_* attribute nested inside of a OVS_ACTION_ATTR_SET action attribute. When converting masked actions back to regular set actions, the inner attribute length was not changed, ie, double the length being serialized. This patch fixes the bug. Fixes: 83d2b9b ("net: openvswitch: Support masked set actions.") Signed-off-by: Joe Stringer <email@example.com> Acked-by: Jarno Rajahalme <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com> Upstream: f4f8e738505 ("openvswitch: Fix serialization of non-masked set actions") Signed-off-by: Pravin B Shelar <firstname.lastname@example.org> Acked-by: Joe Stringer <email@example.com>
Showing with 7 additions and 1 deletion