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 892287d06c17..d01410e52097 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c | |||
@@ -1047,7 +1047,7 @@ error: | |||
1047 | } | 1047 | } |
1048 | 1048 | ||
1049 | /* Factor out action copy to avoid "Wframe-larger-than=1024" warning. */ | 1049 | /* Factor out action copy to avoid "Wframe-larger-than=1024" warning. */ |
1050 | static struct sw_flow_actions *get_flow_actions(struct net *net, | 1050 | static noinline_for_stack struct sw_flow_actions *get_flow_actions(struct net *net, |
1051 | const struct nlattr *a, | 1051 | const struct nlattr *a, |
1052 | const struct sw_flow_key *key, | 1052 | const struct sw_flow_key *key, |
1053 | const struct sw_flow_mask *mask, | 1053 | const struct sw_flow_mask *mask, |
@@ -1081,12 +1081,13 @@ static struct sw_flow_actions *get_flow_actions(struct net *net, | |||
1081 | * we should not to return match object with dangling reference | 1081 | * we should not to return match object with dangling reference |
1082 | * to mask. | 1082 | * to mask. |
1083 | * */ | 1083 | * */ |
1084 | static int ovs_nla_init_match_and_action(struct net *net, | 1084 | static noinline_for_stack int |
1085 | struct sw_flow_match *match, | 1085 | ovs_nla_init_match_and_action(struct net *net, |
1086 | struct sw_flow_key *key, | 1086 | struct sw_flow_match *match, |
1087 | struct nlattr **a, | 1087 | struct sw_flow_key *key, |
1088 | struct sw_flow_actions **acts, | 1088 | struct nlattr **a, |
1089 | bool log) | 1089 | struct sw_flow_actions **acts, |
1090 | bool log) | ||
1090 | { | 1091 | { |
1091 | struct sw_flow_mask mask; | 1092 | struct sw_flow_mask mask; |
1092 | int error = 0; | 1093 | int error = 0; |