diff options
author | dimitri staessens <[email protected]> | 2016-05-21 17:42:48 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-05-21 17:42:48 +0200 |
commit | ae4e931baf24e95e594bbdf29597856552e95791 (patch) | |
tree | 0901fa3d84285fd184c31f449fdadeefb404107d /src/ipcpd | |
parent | 546de0e99ce1b9a9de70ccc092a60778f99b4358 (diff) | |
download | ouroboros-ae4e931baf24e95e594bbdf29597856552e95791.tar.gz ouroboros-ae4e931baf24e95e594bbdf29597856552e95791.zip |
ipcpd: homogenous debug messages for deallocation
Diffstat (limited to 'src/ipcpd')
-rw-r--r-- | src/ipcpd/shim-udp/main.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index 362e03d5..601698e2 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -599,9 +599,6 @@ static int ipcp_udp_flow_dealloc_req(int udp_port) struct shm_ap_rbuff * rb; int port_id = -1; - LOG_DBGF("Remote notified flow deallocation on port %d.", - ntohs(udp_port)); - rw_lock_rdlock(&_ipcp->state_lock); rw_lock_wrlock(&_ap_instance->flows_lock); @@ -633,7 +630,7 @@ static int ipcp_udp_flow_dealloc_req(int udp_port) close(fd); - LOG_DBGF("Flow on UDP port %d deallocated.", ntohs(udp_port)); + LOG_DBGF("Flow with port_id %d deallocated.", port_id); return 0; } @@ -1456,8 +1453,6 @@ static int ipcp_udp_flow_dealloc(int port_id) rw_lock_rdlock(&_ipcp->state_lock); rw_lock_wrlock(&_ap_instance->flows_lock); - LOG_DBGF("Grabbed lock for deallocating flow."); - fd = port_id_to_fd(port_id); if (fd < 0) { rw_lock_unlock(&_ap_instance->flows_lock); @@ -1475,8 +1470,6 @@ static int ipcp_udp_flow_dealloc(int port_id) rw_lock_unlock(&_ap_instance->flows_lock); - LOG_DBGF("Deallocated flow with port_id %d, fd %d.", port_id, fd); - if (rb != NULL) shm_ap_rbuff_close(rb); |