diff options
author | 2017-06-29 17:27:44 -0700 | |
---|---|---|
committer | 2017-07-01 09:09:59 -0700 | |
commit | 9cc9a5cb176ccb4f2cda5ac34da5a659926f125f (patch) | |
tree | 3fd2e4ecc9d5c9ef188ee1c85e25234bcde82a28 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'sctp-remove-typedefs-from-structures-part-1' (diff) | |
download | wireguard-linux-9cc9a5cb176ccb4f2cda5ac34da5a659926f125f.tar.xz wireguard-linux-9cc9a5cb176ccb4f2cda5ac34da5a659926f125f.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions