[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160110.172841.1484098968226039838.davem@davemloft.net>
Date: Sun, 10 Jan 2016 17:28:41 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org, tom@...bertland.com, edumazet@...gle.com
Subject: Re: [PATCH net RESEND] udp: restrict offloads to one namespace
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Thu, 7 Jan 2016 14:28:39 +0100
> udp tunnel offloads tend to aggregate datagrams based on inner
> headers. gro engine gets notified by tunnel implementations about
> possible offloads. The match is solely based on the port number.
>
> Imagine a tunnel bound to port 53, the offloading will look into all
> DNS packets and tries to aggregate them based on the inner data found
> within. This could lead to data corruption and malformed DNS packets.
>
> While this patch minimizes the problem and helps an administrator to find
> the issue by querying ip tunnel/fou, a better way would be to match on
> the specific destination ip address so if a user space socket is bound
> to the same address it will conflict.
>
> Cc: Tom Herbert <tom@...bertland.com>
> Cc: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied, thanks Hannes.
Powered by blists - more mailing lists