summaryrefslogtreecommitdiff
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-04-13 11:28:15 +0200
committerMaria Matejka <mq@ucw.cz>2022-04-13 11:36:54 +0200
commit9eec503b251c3388579032b300d32640403d8612 (patch)
treebdfdab75fadbb23a7261a887e8ac8a3ac757982e /proto/bgp/packets.c
parent692055e3df6cc9f0d428d3b0dd8cdd8e825eb6f4 (diff)
Fixed a munmap abort bug
When BIRD was munmapping too many pages, it sometimes aborted, saying that munmap failed with "Not enough memory" as the address space was getting more and more fragmented. There is a workaround in place, simply keeping that page for future use, yet it has never been compiled in because I somehow forgot to include errno.h. And because I also thought that somebody may have ENOMEM not defined (why?!), there was a check which quietly omitted that workaround. Anyway, ENOMEM is POSIX. It's an utter nonsense to check for its existence. If it doesn't exist, something is broken.
Diffstat (limited to 'proto/bgp/packets.c')
0 files changed, 0 insertions, 0 deletions