Message ID | 1511268042-65124-5-git-send-email-roid@mellanox.com |
---|---|
State | Accepted |
Headers | show |
Series | Fixes for header rewrite feature | expand |
diff --git a/lib/tc.c b/lib/tc.c index 360a770..4f82623 100644 --- a/lib/tc.c +++ b/lib/tc.c @@ -1059,7 +1059,7 @@ static void nl_msg_put_act_pedit(struct ofpbuf *request, struct tc_pedit *parm, struct tc_pedit_key_ex *ex) { - size_t ksize = sizeof *parm + (parm->nkeys * sizeof(struct tc_pedit_key)); + size_t ksize = sizeof *parm + parm->nkeys * sizeof(struct tc_pedit_key); size_t offset, offset_keys_ex, offset_key; int i;