when packet be claimed, clean the packet exdata

This commit is contained in:
luwenpeng
2024-11-18 15:30:35 +08:00
parent a473c2922d
commit 746d7fca06
3 changed files with 100 additions and 99 deletions

View File

@@ -357,6 +357,9 @@ void packet_manager_dispatch(struct packet_manager *pkt_mgr, uint16_t thread_id)
{
if (pkt_mgr_rte->claim_cb)
{
struct exdata_runtime *ex_rte = packet_get_user_data(pkt);
exdata_runtime_reset(ex_rte);
pkt_mgr_rte->claim_cb(pkt, pkt_mgr_rte->claim_arg);
}
continue;