mm/iob: Add support for increasing length in iob_update_pktlen

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
This commit is contained in:
Zhe Weng
2023-05-17 16:11:21 +08:00
committed by Masayuki Ishikawa
parent 2fa68fbddd
commit d44e19d115
21 changed files with 76 additions and 40 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ void arp_format(FAR struct net_driver_s *dev, in_addr_t ipaddr)
/* Update device buffer length */
iob_update_pktlen(dev->d_iob, sizeof(struct arp_hdr_s));
iob_update_pktlen(dev->d_iob, sizeof(struct arp_hdr_s), false);
}
#endif /* CONFIG_NET_ARP */