Skip to content

Commit

Permalink
loxilb-io/loxilb#877 egress support:error handling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Jan 16, 2025
1 parent 73f2349 commit 56e9de5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/loxilb_libdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2111,6 +2111,9 @@ llb_add_mf_map_elem__(int tbl, void *k, void *v)
ret = pdi_rule_insert(xh->ufw4, new, &nr);
if (ret != 0) {
free(new);
if (ret == -EEXIST) {
return 0;
}
return -1;
}

Expand Down

0 comments on commit 56e9de5

Please sign in to comment.