Re: [PATCH v2] tcp: perform DMA to userspace only if there is a task waiting for it

2012-07-27 Thread David Miller
From: Jiri Kosina Date: Fri, 27 Jul 2012 22:38:50 +0200 (CEST) > Back in 2006, commit 1a2449a87b ("[I/OAT]: TCP recv offload to I/OAT") > added support for receive offloading to IOAT dma engine if available. > > The code in tcp_rcv_established() tries to perform early DMA copy if > applicable. I

[PATCH v2] tcp: perform DMA to userspace only if there is a task waiting for it

2012-07-27 Thread Jiri Kosina
Back in 2006, commit 1a2449a87b ("[I/OAT]: TCP recv offload to I/OAT") added support for receive offloading to IOAT dma engine if available. The code in tcp_rcv_established() tries to perform early DMA copy if applicable. It however does so without checking whether the userspace task is actually e