net_pkt_get(), net_pkt_append() queries

Vakul Garg <vakul.garg@...>



In function net_pkt_get(), it seems it does not take into account subtracting IPv4/IPv6 header length while setting pkt->data_len.

Also, in function net_pkt_append(), I do not understand, why max_len is overwritten with TCP send_mss.


Can someone please check?


Thanks & Regards





Join to automatically receive all group messages.