From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next] net: preserve sock reference when scrubbing the skb. Date: Tue, 26 Jun 2018 19:35:17 -0700 Message-ID: References: <20180625155610.30802-1-fbl@redhat.com> <48e15faf-f935-0166-e1db-18f7286e7264@gmail.com> <20180626220300.GT19565@plex.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Flavio Leitner , Linux Kernel Network Developers , Paolo Abeni , David Miller , Florian Westphal , NetFilter To: Cong Wang , Eric Dumazet Return-path: In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org On 06/26/2018 05:44 PM, Cong Wang wrote: > With this, a netns could totally throttle a TCP socket in a different > netns by holding the packets infinitely (e.g. putting them in a loop). > This is where the isolation breaks. > That is fine, really. Admin error -> Working as intended. The current scrubbing is simply wrong, not documented, and added by someone who had absolutely not intended all the side effects.