Message ID | 1484829080-18593-2-git-send-email-roid@mellanox.com |
---|---|
State | Accepted, archived |
Delegated to: | stephen hemminger |
Headers | show |
diff --git a/tc/f_flower.c b/tc/f_flower.c index 1dbc532..1272a47 100644 --- a/tc/f_flower.c +++ b/tc/f_flower.c @@ -525,7 +525,9 @@ static int flower_parse_opt(struct filter_util *qu, char *handle, } parse_done: - addattr32(n, MAX_MSG, TCA_FLOWER_FLAGS, flags); + ret = addattr32(n, MAX_MSG, TCA_FLOWER_FLAGS, flags); + if (ret) + return ret; ret = addattr16(n, MAX_MSG, TCA_FLOWER_KEY_ETH_TYPE, eth_type); if (ret) {