Compare commits

...

2 Commits

Author SHA1 Message Date
Pau Espin Pedrol
49f3e6a6ab Bump version: 1.10.0.1-fffe → 1.10.1
Change-Id: I727c89731369cc4f1a15b4f6ee9c85ba6b14536a
2023-03-10 16:04:05 +01:00
Pau Espin Pedrol
fffe261076 mgcp_network: Unregister osmo_fd before closing fd
(cherry picked from commit 6c303664f5)

Change-Id: I2f58dc825de1604fb464858c9cb3b87d029cb4ad
2023-03-10 16:02:12 +01:00
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
osmo-mgw (1.10.1) unstable; urgency=medium
* mgcp_network: Unregister osmo_fd before closing fd
-- Pau Espin Pedrol <pespin@sysmocom.de> Fri, 10 Mar 2023 16:04:04 +0100
osmo-mgw (1.10.0) unstable; urgency=medium
[ Eric ]

View File

@@ -1668,14 +1668,14 @@ int mgcp_bind_net_rtp_port(struct mgcp_endpoint *endp, int rtp_port,
void mgcp_free_rtp_port(struct mgcp_rtp_end *end)
{
if (end->rtp.fd != -1) {
osmo_fd_unregister(&end->rtp);
close(end->rtp.fd);
end->rtp.fd = -1;
osmo_fd_unregister(&end->rtp);
}
if (end->rtcp.fd != -1) {
osmo_fd_unregister(&end->rtcp);
close(end->rtcp.fd);
end->rtcp.fd = -1;
osmo_fd_unregister(&end->rtcp);
}
}