core: pxe: create a single tftp_error() function, send ERROR on close
authorH. Peter Anvin <hpa@zytor.com>
Thu, 3 Sep 2009 04:09:33 +0000 (21:09 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 3 Sep 2009 04:09:33 +0000 (21:09 -0700)
commitb5e5e33602d563cb792083e95b13cbd95136e7e5
tree5aa8c53056690ac266ee5764145b75f55d3c8fcb
parent733ec3ad95cf1df199cd0a8ec9b8352a6942e059
core: pxe: create a single tftp_error() function, send ERROR on close

Create a single function to generate a TFTP error.  We really should
be better about distinguishing different error conditions.

Send an ERROR packet if we're closing a file which still has an open
connection.

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