diff options
Diffstat (limited to 'datapath/flow.c')
-rw-r--r-- | datapath/flow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath/flow.c b/datapath/flow.c index 06ceafae7..979e5ec9f 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -1131,6 +1131,7 @@ static int __parse_flow_nlattrs(const struct nlattr *attr, if (type > OVS_KEY_ATTR_MAX) { OVS_NLERR("Unknown key attribute (type=%d, max=%d).\n", type, OVS_KEY_ATTR_MAX); + return -EINVAL; } if (attrs & (1ULL << type)) { |