summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-udp
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-26 11:17:39 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-26 11:17:39 +0000
commitad522c14994ae19c5a6507ee10ebcacdbf3cf107 (patch)
tree4e4d3b4f8da805ca9f0f0733977ff678c064660f /src/ipcpd/shim-udp
parentea16fc664673d65c0e3e51591258be4d3b8be406 (diff)
parente2c8623e66d66f4b9c8619349d11375a32ac2134 (diff)
downloadouroboros-ad522c14994ae19c5a6507ee10ebcacdbf3cf107.tar.gz
ouroboros-ad522c14994ae19c5a6507ee10ebcacdbf3cf107.zip
Merged in dstaesse/ouroboros/be-shm-reserve (pull request #493)
lib: Add call to reserve blocks in rdrbuff
Diffstat (limited to 'src/ipcpd/shim-udp')
-rw-r--r--src/ipcpd/shim-udp/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index 20e9b272..a3e87b86 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -501,7 +501,7 @@ static void * ipcp_udp_sdu_loop(void * o)
if (ipcp_get_state() != IPCP_OPERATIONAL) {
- ipcp_flow_del(sdb);
+ ipcp_sdb_release(sdb);
return (void *) 0; /* -ENOTENROLLED */
}
@@ -516,7 +516,7 @@ static void * ipcp_udp_sdu_loop(void * o)
0) < 0)
log_err("Failed to send SDU.");
- ipcp_flow_del(sdb);
+ ipcp_sdb_release(sdb);
}
}