Commit be52c9e9 authored by Committed by Pravin B Shelar
openvswitch: Avoid assigning a NULL pointer to flow actions.
Flow SET can accept an empty set of actions, with the intended semantics of leaving existing actions unmodified. This seems to have been brokin after OVS 1.7, as we have assigned the flow's actions pointer to NULL in this case, but we never check for the NULL pointer later on. This patch restores the intended behavior and documents it in the include/linux/openvswitch.h. Signed-off-by: Jarno Rajahalme <firstname.lastname@example.org> Signed-off-by: Pravin B Shelar <email@example.com>
Showing with 11 additions and 7 deletions