Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1539299imm; Fri, 27 Jul 2018 20:39:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeq4++ABCs1cN4kvIncDWOg3UuIb/avd+ixP+xWcaxKYrw/0b25DD2MNdNU6n1Ly5Xia4EA X-Received: by 2002:a63:7f16:: with SMTP id a22-v6mr8349034pgd.255.1532749197682; Fri, 27 Jul 2018 20:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532749197; cv=none; d=google.com; s=arc-20160816; b=Y6cIRpp6quO1W029NtnL+sQ3dbUZRAaO2xi45FcTpm5Iohv/Xkjat1uxlzS+/G7lXr gSFTY53NC0qYpqQeKL5CwK/7cX8qMhhNlLfwJ/2i7HDRsXCJo6/dQfMjqc6gHfhPbSN/ KyS6dq0kbEm5t2j8L+3SjjpbrNZeRWfOnAFcRma34FLdjdLqEmFulQbvAiZs0NnALSIz imclolpGk2ugHMS10EQw/rdu6hJJVk/Z+0v1uzJB0pDovCFHkTQofG3zRrJr/IWxspeN hj4Tz1ZGi5rkMg68sY6d/cS3BnjT7pXQr49yrugXaO9awEKMtMd0S4/FXNoDHlFBs+N5 ktWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=e7U7jWa0eHTJ4xzJcfD190rtQyFi0cyqwK8TMeRGeio=; b=TSC2SbRcJFkcPwY2Z3dC5J4G3N/Cm/WL3joH39K4caFTGxSNAPZwoLpfj/pFlGRvaW gEsPpS4g5PJqU0xFmVAFJPxea2KvKNrHT3V/jucVXNaZT5+rtNowa9agWdctrH2+FR6R 7IcfYg/K/VTcZkBhIUUobOuFbxvl7yijNZk5itctXrwoHiLzmdaQ03zmMMfq5Grgy8Yt ajdBtMAtOz1HCmO61kBP9KV0N3a6uLCc8B3Xhuxty32faujVg1hnmGcTbqVRnNq0N/LI 6Xml7mn72P19JdSbfUyRoBTMUD6mSR2SPK/FBlixKPlGaPZwgiwHRdrgKRW56JIEaExa D49g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=WC9nZBLs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k20-v6si4897991pgb.115.2018.07.27.20.39.43; Fri, 27 Jul 2018 20:39:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=WC9nZBLs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726066AbeG1FDq (ORCPT + 99 others); Sat, 28 Jul 2018 01:03:46 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:36392 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbeG1FDq (ORCPT ); Sat, 28 Jul 2018 01:03:46 -0400 Received: by mail-it0-f67.google.com with SMTP id p81-v6so10058005itp.1 for ; Fri, 27 Jul 2018 20:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e7U7jWa0eHTJ4xzJcfD190rtQyFi0cyqwK8TMeRGeio=; b=WC9nZBLsQNxRgcR5dogwxP2xN+0FhyTO4aiU6CoV1IVJjfP6vIxmJRP79tyIfW8aXM 3c+ZoDcpv+Q50Vjru1mbBo1qUblSNl2Nu6k468TEPcCprgb7b73ECMBOzZ/BMu1O+NyC Clq+xUTZhZLkeruxDZTRIb+9ViPjmzagjH7FKxrtE+NFE6yZtKWbTBl6d2UbSxdPewG9 VRvo470dxVEamPoVIpCtll+42/REeNMTlsNdiphQTlwMSPk91ja8WhPY6OS6oryZjQkF 8fWecYxqbAlp/Mpx9X7VztNbqNEX8Jdmf7SH3bv9BCXBTGO9uiHhbYhrSu8LOwBipnDB NOog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e7U7jWa0eHTJ4xzJcfD190rtQyFi0cyqwK8TMeRGeio=; b=A9MdLYZwdRA9Lj3zwAzsv7K7h7775fizzjGzEvuEuWkZLoD6RMlbxy4AJs+2FvZcYM ZVaIHTNAQm6W8/53EXoEo9n7PsuNu3yuKk9j2bLx3tsSv+/dxcBzE6Y6X2VL1Uv0T2ky MMB2rJNNGMtKFdsv0yPoveSVzUF7RTvOqYj/hACrhxlcjxI3EqOdgbIlElJB/1RFBBuQ A5YWyLtmnfMvvnqnWz07WxEVSXnC5dK/oSty/uuK0SJmzcekvxE3hdtqulcBa3eIKOAA e8uuYS7Hhhmk+hixJzcKxTYh5pZJHowPN6p2kPKdxiUjhN+kmvYHAvFkJsdVqNYiFTkJ udBg== X-Gm-Message-State: AOUpUlGS62FYIuCU0+jeZA0Eo4s7dDuLlcFEblwMFY1u8qrEVNdRfhyV tzDov5I62RYxiE94YJfls0HBc9RyDGNl2EdH6aG0Iw== X-Received: by 2002:a24:6f0e:: with SMTP id x14-v6mr7750837itb.139.1532749135396; Fri, 27 Jul 2018 20:38:55 -0700 (PDT) MIME-Version: 1.0 References: <1532746900-11710-1-git-send-email-laoar.shao@gmail.com> In-Reply-To: From: Eric Dumazet Date: Fri, 27 Jul 2018 20:38:44 -0700 Message-ID: Subject: Re: [PATCH net-next 1/2] tcp: call tcp_drop() in tcp collapse To: Yafang Shao Cc: David Miller , netdev , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 27, 2018 at 8:35 PM Yafang Shao wrote: > So what about LINUX_MIB_TCPOFOMERGE ? > Regarding LINUX_MIB_TCPOFOMERGE, a skb is already covered by another > skb, is that dropping the packet or simply lowering the memory > overhead ? What do you think ? If you receive two times the same payload, don't you have to drop one of the duplicate ? There is a a big difference between the two cases.