On 2017-03-08 11:40, Eric Dumazet wrote:
Well, this 'optimization' actually hurts when UDP sockets are not
connected, since this adds an extra cache line miss per incoming packet.

(DNS servers for example)

Hi Eric

Thanks for your comments. Would it be preferable to disable early demux for the
servers with large unconnected workloads in that case?



Signed-off-by: Subash Abhinov Kasiviswanathan <subas...@codeaurora.org>
---

+
+       if (dst)
+               dst = dst_check(dst, 0);


IPv6 uses a cookie to validate dst, not 0.

I'll update this and send v2.

--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Reply via email to