mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
udpv6 failed to receive data for the first time for 3.1
This commit is contained in:
@@ -1655,13 +1655,13 @@ nd6_queue_packet(s8_t neighbor_index, struct pbuf * q)
|
||||
#endif /* LWIP_ND6_QUEUEING */
|
||||
p = pbuf_alloc(PBUF_LINK, q->tot_len, PBUF_RAM);
|
||||
}
|
||||
#endif /* ESP_ND6_QUEUEING */
|
||||
if (p != NULL) {
|
||||
if (pbuf_copy(p, q) != ERR_OK) {
|
||||
pbuf_free(p);
|
||||
p = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
/* referencing the old pbuf is enough */
|
||||
p = q;
|
||||
|
Reference in New Issue
Block a user