pxe: make tftp_pktbuf a dynamic buffer
authorH. Peter Anvin <hpa@zytor.com>
Sun, 24 Apr 2011 04:04:58 +0000 (21:04 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 24 Apr 2011 04:06:51 +0000 (21:06 -0700)
commitd05e01cf06aac976a2ba274ec7a0fbd9830782a6
treecf7f2859a091f5764ddb583c504516049a829e3d
parent6c5e4a4bcfc991a6e578f65976891bcde31d0c56
pxe: make tftp_pktbuf a dynamic buffer

We don't need tftp_pktbuf for the TCP-based protocols, so allocate it
on demand.  It should be possible to get rid of it for TFTP as well.

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