Commit 6b205b2c authored by Committed by David S. Miller
openvswitch: Factor out allocation and verification of actions.
As the size of the flow key grows, it can put some pressure on the stack. This is particularly true in ovs_flow_cmd_set(), which needs several copies of the key on the stack. One of those uses is logically separate, so this factors it out to reduce stack pressure and improve readibility. Signed-off-by: Jesse Gross <firstname.lastname@example.org> Signed-off-by: Andy Zhou <email@example.com> Acked-by: Pravin B Shelar <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 27 additions and 11 deletions