Corrected bug #19937: ICMP assumes p_buf has space for ethernet header. Allocating new pbuf if the input pbuf isn't big enough.

This commit is contained in:
goldsimon
2007-06-03 10:48:23 +00:00
parent d5a159d7af
commit 7abfe74fa4
2 changed files with 64 additions and 13 deletions

View File

@@ -170,7 +170,13 @@ HISTORY
++ Bug fixes:
2007-05-22 Simon Goldschmidt
2007-06-03 Simon Goldschmidt
* icmp.c: Corrected bug #19937: For responding to an icmp echo request, icmp
re-used the input pbuf even if that didn't have enough space to include the
link headers. Now the space is tested and a new pbuf is allocated for the
echo response packet if the echo request pbuf isn't big enough.
2007-06-01 Simon Goldschmidt
* sockets.c: Checked in patch #5914: Moved sockopt processing into tcpip_thread.
2007-05-23 Frédéric Bernon