datapath: Avoid using stack larger than 1024.
authorPravin B Shelar <pshelar@nicira.com>
Fri, 8 Aug 2014 03:34:20 +0000 (20:34 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 8 Aug 2014 04:27:47 +0000 (21:27 -0700)
commitcc561abf175b1211e82c58054c65f4785f479b23
tree0c8cc6c93ba384be7cf0043ec5fd2414abe7e526
parent2d5cfef8255e09eac16feb71eb3318b6302c7bea
datapath: Avoid using stack larger than 1024.

commit (datapath: Refactor action alloc and copy api) effectively
reverted 1d2a1b5f5252e4c6ce8bbf8d91ca27aba52496e6 (datapath: Factor out
allocation and verification of actions.). This results in following
warning:

CC [M]  /home/jesse/openvswitch/datapath/linux/datapath.o
/home/jesse/openvswitch/datapath/linux/datapath.c: In function
‘ovs_flow_cmd_set’:
/home/jesse/openvswitch/datapath/linux/datapath.c:1094:1: warning: the
frame size of 1256 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
 }

Following patch introduced the factoring back.

CC: Jesse Gross <jesse@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c