search for: 81d3e23

Displaying 2 results from an estimated 2 matches for "81d3e23".

Did you mean: 81323
2009 Aug 08
2
[PATCH] pxe: fix OACK packet handling
The current code only works iff the tsize option is set. This patch fixes the handling of the OACK packet and makes the code work with all combinations of the tsize and blksize options. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> diff --git a/core/pxe.c b/core/pxe.c index 81d3e23..a4b8a14 100644 --- a/core/pxe.c +++ b/core/pxe.c @@ -913,8 +913,10 @@ static void pxe_searchdir(char *filename, struct file *file) * Now we need to parse the OACK packet to get the transfer * and packet sizes. */ - if (!buffersize) + if (!buffersize) { +...
2009 Aug 08
0
[PATCH] core:PXELINUX: fix the OACK option parsing bug.
...ent code can just handle one option beacuse I put the do-while loop in the wrong position. Signed-off-by: Liu Aleaxander <Aleaxander at gmail.com> --- core/pxe.c | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/core/pxe.c b/core/pxe.c index 81d3e23..bda1a54 100644 --- a/core/pxe.c +++ b/core/pxe.c @@ -928,20 +928,20 @@ static void pxe_searchdir(char *filename, struct file *file) if (*options == 0) goto done; - dst = src = options; - while (buffersize--) { - if (*src == 0) - break;...