when packet be claimed, clean the packet exdata
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user