release incoming UDP msgb's after we processed them
This commit is contained in:
parent
2631e7adcd
commit
2b0e73f42a
|
@ -60,7 +60,11 @@ static int udp_read_cb(struct bsc_fd *fd)
|
|||
|
||||
msgb_put(msg, rc);
|
||||
|
||||
return tcap_tco_n_unitdata_ind(tte, msg);
|
||||
rc = tcap_tco_n_unitdata_ind(tte, msg);
|
||||
|
||||
msgb_free(msg);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
struct tcap_transport_entity *tcap_transp_udp_create(struct sockaddr_storage *local_addr)
|
||||
|
|
Loading…
Reference in New Issue