diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-04-26 11:18:56 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-04-26 11:56:59 +0200 |
commit | a4b16942119a09a7292b2f910569f48efc7d7049 (patch) | |
tree | 9a1bb8dc5f7a3957c8f2904cfa4ae0c782aba1f9 /src/ipcpd/normal/sdu_sched.h | |
parent | 639a17a3ac9236494b814e51a34583b4dccd754c (diff) | |
download | ouroboros-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/ipcpd/normal/sdu_sched.h')
0 files changed, 0 insertions, 0 deletions