pxe, tftp: Unify UDP send and use pbuf memory
commit0dc83abe6a1f4ada9ecf15096539931e842b49f7
authorH. Peter Anvin <hpa@zytor.com>
Thu, 26 Apr 2012 22:36:41 +0000 (26 15:36 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 26 Apr 2012 22:36:41 +0000 (26 15:36 -0700)
treee1d3a72531f249d104d2be49f448d898fb86c0f3
parent6029b7afd344cd6a8cd686db1786d763d57669e4
pxe, tftp: Unify UDP send and use pbuf memory

The spec says memory using netbuf_ref() isn't allowed to change, so
use pbuf memory.  This seems to avoid an assert in the lwip stack.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/pxe/tftp.c