summaryrefslogtreecommitdiff
path: root/src/tools/oecho/oecho.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-04-26 11:18:56 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-04-26 11:56:59 +0200
commita4b16942119a09a7292b2f910569f48efc7d7049 (patch)
tree9a1bb8dc5f7a3957c8f2904cfa4ae0c782aba1f9 /src/tools/oecho/oecho.c
parent639a17a3ac9236494b814e51a34583b4dccd754c (diff)
downloadouroboros-a4b16942119a09a7292b2f910569f48efc7d7049.tar.gz
ouroboros-a4b16942119a09a7292b2f910569f48efc7d7049.zip
lib: Shut rx buffer down before cleanup and exit
If a program exits, it cleans its read buffer. However, another process could still write a packet in that buffer, which would cause the IPCP or IRMd to run into an assertion failure on shutdown. Setting the rbuff to ACL_FLOWDOWN prevents this. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/tools/oecho/oecho.c')
0 files changed, 0 insertions, 0 deletions