mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-11-03 21:43:32 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					49f3e6a6ab | ||
| 
						 | 
					fffe261076 | 
							
								
								
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@@ -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 ]
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user