summaryrefslogtreecommitdiff
path: root/src/lib/utils.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2018-04-26 11:18:56 +0200
committerSander Vrijders <[email protected]>2018-04-26 11:56:59 +0200
commita4b16942119a09a7292b2f910569f48efc7d7049 (patch)
tree9a1bb8dc5f7a3957c8f2904cfa4ae0c782aba1f9 /src/lib/utils.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 <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/utils.c')
0 files changed, 0 insertions, 0 deletions