[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTikC+SUp-hvKZ-6nTf+VQQ=kFaFVcewek=1B6H500_4xkg@mail.gmail.com>
Date: Wed, 1 Jun 2011 09:57:30 -0700
From: Bill Sommerfeld <wsommerfeld@...gle.com>
To: Josh Lehan <linux@...llan.com>
Cc: Yuchung Cheng <ycheng@...gle.com>, netdev <netdev@...r.kernel.org>,
jiyengar@...dm.edu
Subject: Re: Skipping past TCP lost packet in userspace
On Wed, Jun 1, 2011 at 01:10, Josh Lehan <linux@...llan.com> wrote:
> 2) If the out-of-order data is enough to be useful to the application,
> another ioctl() could be done, to ask the kernel to jump over the gap
> and deliver the data to the application.
this sounds like a different way to spell lseek(fd, gapsize, SEEK_CUR)
of course, allowing a subset of lseek for sockets could very well mess
with any code which (ab)uses lseek to guess the type of a random
descriptor.
--
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