[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080729093250.GA13365@ff.dom.local>
Date: Tue, 29 Jul 2008 09:32:50 +0000
From: Jarek Poplawski <jarkao2@...il.com>
To: Jay Cliburn <jacliburn@...lsouth.net>
Cc: netdev@...r.kernel.org, ian@...fray.co.uk
Subject: Re: sendfile() behavior while troubleshooting netdevice
On 29-07-2008 02:07, Jay Cliburn wrote:
...
> file size is 1600 bytes
> received 1592 bytes
> error: expected 1600, received 1592
sfclient.c:
...
prev = count;
count += ret;
if (prev == count) {
fprintf(stderr, "error: expected %d, received %d\n",
fsize, count);
---> exit(1);
}
Maybe you could try without this exit if anything comes later?
Jarek P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists