diff options
author | Jakob Unterwurzacher | 2017-10-19 09:23:10 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-10-19 09:23:10 +0200 |
commit | 29445c976d200f6e734eae56d9665fd4098f0a43 (patch) | |
tree | 10ccf7ff0c46e1eaa5f649974c0a9c23e406440f /internal/stupidgcm/stupidgcm_test.go | |
parent | 2783eadc8f69ae5803a75dbfccd7ea1862cdfe51 (diff) |
contentenc: reserve one additional block in CReqPool
...to account for unaligned reads.
I have not seen this happen in the wild because the kernel
always seems to issue 4k-aligned requests. But the cost
of the additional block in the pool is low and prevents
a buffer overrun panic when an unaligned read does happen.
Diffstat (limited to 'internal/stupidgcm/stupidgcm_test.go')
0 files changed, 0 insertions, 0 deletions