[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160520.195643.1333214069455173482.davem@davemloft.net>
Date: Fri, 20 May 2016 19:56:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] udp: prevent skbs lingering in tunnel socket queues
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Thu, 19 May 2016 15:58:33 +0200
> In case we find a socket with encapsulation enabled we should call
> the encap_recv function even if just a udp header without payload is
> available. The callbacks are responsible for correctly verifying and
> dropping the packets.
>
> Also, in case the header validation fails for geneve and vxlan we
> shouldn't put the skb back into the socket queue, no one will pick
> them up there. Instead we can simply discard them in the respective
> encap_recv functions.
>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Looks good, applied and queued up for -stable.
Thanks!
Powered by blists - more mailing lists