tcp: perform DMA to userspace only if there is a task waiting for it