Tonghao Zhang
9cc9a5cb17
datapath: Avoid using stack larger than 1024.
...
When compiling OvS-master on 4.4.0-81 kernel,
there is a warning:
CC [M] /root/ovs/datapath/linux/datapath.o
/root/ovs/datapath/linux/datapath.c: In function
'ovs_flow_cmd_set':
/root/ovs/datapath/linux/datapath.c:1221:1: warning:
the frame size of 1040 bytes is larger than 1024 bytes
[-Wframe-larger-than=]
This patch factors out match-init and action-copy to avoid
"Wframe-larger-than=1024" warning. Because mask is only
used to get actions, we new a function to save some
stack space.
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-01 09:09:59 -07:00
..
2017-04-12 22:02:40 +02:00
2017-05-19 15:06:48 -07:00
2017-06-20 13:30:14 -04:00
2017-06-26 23:13:22 -04:00
2017-06-16 11:48:40 -04:00
2017-07-01 07:39:08 -07:00
2017-06-16 11:48:40 -04:00
2017-06-16 11:48:39 -04:00
2017-07-01 07:39:08 -07:00
2017-05-02 11:46:28 -04:00
2017-07-01 07:39:07 -07:00
2017-07-01 07:39:08 -07:00
2017-06-16 11:48:37 -04:00
2017-05-24 18:10:51 +02:00
2017-07-01 07:39:09 -07:00
2017-05-21 13:42:33 -04:00
2017-07-01 07:39:07 -07:00
2017-07-01 07:39:07 -07:00
2017-03-03 10:16:38 -08:00
2017-06-20 13:30:15 -04:00
2017-06-16 11:48:40 -04:00
2017-06-26 23:13:21 -04:00
2017-06-26 23:13:22 -04:00
2017-02-03 15:16:45 -05:00
2017-07-01 07:39:09 -07:00
2017-07-01 07:39:09 -07:00
2017-05-02 15:34:53 -04:00
2017-06-20 13:30:15 -04:00
2017-06-25 11:42:58 -04:00
2017-07-01 07:39:08 -07:00
2017-07-01 07:39:08 -07:00
2017-07-01 07:39:08 -07:00
2016-12-24 11:46:01 -08:00
2017-07-01 07:39:08 -07:00
2017-06-20 13:30:15 -04:00
2017-06-07 15:53:24 -04:00
2017-06-06 22:20:08 -04:00
2017-06-16 11:48:40 -04:00
2017-07-01 09:08:42 -07:00
2017-04-13 13:58:22 -04:00
2017-07-01 07:39:08 -07:00
2017-03-09 18:23:27 -08:00
2017-06-16 11:48:40 -04:00
2017-07-01 09:09:59 -07:00
2017-07-01 07:39:09 -07:00
2017-07-01 07:39:08 -07:00
2017-06-16 11:48:39 -04:00
2017-06-16 11:48:39 -04:00
2017-07-01 07:39:08 -07:00
2017-06-13 11:07:51 +02:00
2017-03-09 18:23:27 -08:00
2017-07-01 07:39:08 -07:00
2017-07-01 07:39:08 -07:00
2017-07-01 09:08:42 -07:00
2017-05-16 14:49:43 -04:00
2017-03-03 20:43:26 -08:00
2017-05-31 12:26:44 -04:00
2017-06-08 14:16:24 -04:00
2017-07-01 07:39:08 -07:00
2017-06-23 14:19:27 -04:00
2017-07-01 07:39:08 -07:00
2017-06-20 13:30:15 -04:00
2017-06-21 17:35:22 -04:00
2017-06-20 13:30:15 -04:00
2017-06-30 12:43:08 -04:00
2017-02-22 10:15:09 -08:00
2017-06-15 12:12:40 -04:00
2017-06-15 12:12:40 -04:00
2017-05-22 12:14:04 -04:00
2017-04-16 23:42:49 -05:00