when setting blocksize, fix blockcount to 2 to reduce latency with smaller

block sizes.
This commit is contained in:
Cameron Grant 2001-09-18 15:19:44 +00:00
parent c2995ba2d4
commit a6295c60ae

View File

@ -1158,6 +1158,8 @@ msschan_setblocksize(kobj_t obj, void *data, u_int32_t blocksize)
struct mss_chinfo *ch = data;
ch->blksz = blocksize;
sndbuf_resize(ch->buffer, 2, ch->blksz);
return ch->blksz;
}