From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [net-next PATCH v3 6/6] udp: Do not copy destructor if one is not present Date: Mon, 7 May 2018 11:25:32 -0700 Message-ID: <20d57d45-c400-77a0-213b-c5c8ac7fe7f9@gmail.com> References: <20180507180310.3486.35994.stgit@localhost.localdomain> <20180507180852.3486.27748.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Alexander Duyck , netdev@vger.kernel.org, willemb@google.com, davem@davemloft.net Return-path: Received: from mail-pl0-f65.google.com ([209.85.160.65]:35894 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbeEGSZf (ORCPT ); Mon, 7 May 2018 14:25:35 -0400 Received: by mail-pl0-f65.google.com with SMTP id v24-v6so265751plo.3 for ; Mon, 07 May 2018 11:25:35 -0700 (PDT) In-Reply-To: <20180507180852.3486.27748.stgit@localhost.localdomain> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 05/07/2018 11:08 AM, Alexander Duyck wrote: > From: Alexander Duyck > > This patch makes it so that if a destructor is not present we avoid trying > to update the skb socket or any reference counting that would be associated > with the NULL socket and/or descriptor. By doing this we can support > traffic coming from another namespace without any issues. > > Acked-by: Willem de Bruijn > Signed-off-by: Alexander Duyck Reviewed-by: Eric Dumazet