Skip to content

Commit

Permalink
ipvs: fix issue iqiyi#946, a coredump problem when no enough memory o…
Browse files Browse the repository at this point in the history
…n start

Signed-off-by: ywc689 <[email protected]>
  • Loading branch information
ywc689 committed Apr 19, 2024
1 parent cead683 commit f7b0b50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ipvs/ip_vs_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1221,9 +1221,8 @@ static int conn_term_lcore(void *arg)
if (!rte_lcore_is_enabled(rte_lcore_id()))
return EDPVS_DISABLED;

conn_flush();

if (this_conn_tbl) {
conn_flush();
rte_free(this_conn_tbl);
this_conn_tbl = NULL;
}
Expand Down

0 comments on commit f7b0b50

Please sign in to comment.