diff options
Diffstat (limited to 'net/openvswitch/datapath.c')
-rw-r--r-- | net/openvswitch/datapath.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 12d985029eb1..65122bbccd27 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c | |||
@@ -1050,7 +1050,7 @@ error: | |||
1050 | } | 1050 | } |
1051 | 1051 | ||
1052 | /* Factor out action copy to avoid "Wframe-larger-than=1024" warning. */ | 1052 | /* Factor out action copy to avoid "Wframe-larger-than=1024" warning. */ |
1053 | static struct sw_flow_actions *get_flow_actions(struct net *net, | 1053 | static noinline_for_stack struct sw_flow_actions *get_flow_actions(struct net *net, |
1054 | const struct nlattr *a, | 1054 | const struct nlattr *a, |
1055 | const struct sw_flow_key *key, | 1055 | const struct sw_flow_key *key, |
1056 | const struct sw_flow_mask *mask, | 1056 | const struct sw_flow_mask *mask, |
@@ -1084,12 +1084,13 @@ static struct sw_flow_actions *get_flow_actions(struct net *net, | |||
1084 | * we should not to return match object with dangling reference | 1084 | * we should not to return match object with dangling reference |
1085 | * to mask. | 1085 | * to mask. |
1086 | * */ | 1086 | * */ |
1087 | static int ovs_nla_init_match_and_action(struct net *net, | 1087 | static noinline_for_stack int |
1088 | struct sw_flow_match *match, | 1088 | ovs_nla_init_match_and_action(struct net *net, |
1089 | struct sw_flow_key *key, | 1089 | struct sw_flow_match *match, |
1090 | struct nlattr **a, | 1090 | struct sw_flow_key *key, |
1091 | struct sw_flow_actions **acts, | 1091 | struct nlattr **a, |
1092 | bool log) | 1092 | struct sw_flow_actions **acts, |
1093 | bool log) | ||
1093 | { | 1094 | { |
1094 | struct sw_flow_mask mask; | 1095 | struct sw_flow_mask mask; |
1095 | int error = 0; | 1096 | int error = 0; |