mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04:00
The previous version of tcp_send_controller_data avoided sending a chain of multiple mbufs that exceeded the limit, but if an individual mbuf was larger than the limit it was sent as a single, over-sized PDU. Fix by using m_split() to split individual mbufs larger than the limit. Note that this is not a protocol error, per se, as there is no limit on C2H_DATA PDU lengths (unlike the MAXH2CDATA parameter). This fix just honors the administrative limit more faithfully. This case is also very unlikely with the default limit of 256k. Sponsored by: Chelsio Communications |
||
|---|---|---|
| .. | ||
| controller | ||
| host | ||
| nvmf.h | ||
| nvmf_proto.h | ||
| nvmf_tcp.c | ||
| nvmf_tcp.h | ||
| nvmf_transport.c | ||
| nvmf_transport.h | ||
| nvmf_transport_internal.h | ||