Fix incorrect buffer sizes with bpf

When using BPF, the read buffer was being initialised to the size of the write
buffer, rather than read buffer.