pxe, tftp: remove global buffers, double buffering
commit65f4305b9509a5168c8f11e5ccb4d3db55eac405
authorH. Peter Anvin <hpa@zytor.com>
Mon, 2 May 2011 04:15:22 +0000 (1 21:15 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 2 May 2011 04:15:22 +0000 (1 21:15 -0700)
tree3a3cfb8487f8c1ed4f11855b38a23f35a38df84b
parent6ae3556b679985e5ed880d0ebe75f3a095ab8d03
pxe, tftp: remove global buffers, double buffering

Remove the global packet_buf, and drop an unnecessary copy in TFTP
receive.  Change the tftp_lastpkt counter to host byte order, it
really makes life easier.

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