tftpd: support full 512-byte requests
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 3 Sep 2014 16:35:38 +0000 (18:35 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 3 Sep 2014 16:35:38 +0000 (18:35 +0200)
commit67e01fecce5547a3d3d5695f52b375d224014b54
tree885bcb9889dbc8221ac8ab7544913a96647efc15
parentf02c52bcdecc2f2859655e42f15365c0449b6ce3
tftpd: support full 512-byte requests

Some HP PA-RISC firmware always sends fixed 512-byte requests,
with trailing garbage.

function                                             old     new   delta
tftpd_main                                           578     572      -6

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tftp.c