mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 20:30:57 -05:00
Inserting a full mbuf with an external cluster into the socket buffer resulted in sbspace() returning -MLEN. However, since sb_hiwat is unsigned, the -MLEN value was converted to unsigned in comparisons. As a result, the socket buffer was never autosized. Note that sb_lowat is signed to permit direct comparisons with sbspace(), but sb_hiwat is unsigned. Follow suit with what tcp_output() does and compare the value of sbused() with sb_hiwat instead. Approved by: re (gjb) Sponsored by: Chelsio Communications |
||
|---|---|---|
| .. | ||
| t4_connect.c | ||
| t4_cpl_io.c | ||
| t4_ddp.c | ||
| t4_listen.c | ||
| t4_tom.c | ||
| t4_tom.h | ||
| t4_tom_l2t.c | ||
| t4_tom_l2t.h | ||