From patchwork Thu Jun 8 09:55:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103360 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356689qgd; Thu, 8 Jun 2017 02:55:54 -0700 (PDT) X-Received: by 10.84.224.5 with SMTP id r5mr34150226plj.267.1496915754697; Thu, 08 Jun 2017 02:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915754; cv=none; d=google.com; s=arc-20160816; b=NNk5qPxz2lxqu3Aiz5pNa0bX38p9rq3a3swjUGXkOeXon6dcJaioza+0w+A/zlY2BW MIddgpnKxAnL9n5yqq8MDQLllC7k2cwvo4Z3OIqkkbh3O6gauTwA2kCJrO4ezo3p5qax ZwtUIuC2qI8MaB/jQyOPP4ek4yzzo+IP+uKjjXnCT/GsHtiokfnoFPeHajwhIEhsL1TO lPGc4BgN2PNNISk68yOWiQNDDAibzIuaKz1cZrNVOwUDpAtQ1IAlMfgHzzipLzIWQVtH NKdSCP0fs6SNnwwnkeaS8faBDuPE5TnACj9c6SZ023JHdqkcxsTp3epCG5UmmNpSj+l7 5uJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=vcYD6UdINa4pNLFgmMor+sEyi8ucv+EAsfgDLcmuemE=; b=mBHGZiTFjCulTSvjBSnDGGPqcFprUSrjzk1+G8DkaEZftniIK6FgTp+gfmdU+zp0L2 htC+BVCAu2l9roYJ0IIG25mf83Ny01A6CE7fA9ciNnF7maegjB7ZsUfRBnG3fumsJs+v AK4EmomwQdqZnAKr+3p2fpc8nfSq35/3zoTT3X17Y69wh25d9ylRaFp+CjVR75eost/w Q0KlmilwzQv6fzX7Lh4QB4A094srSxhafD/NFvd2IYiu2MHRz+aVcc06PekleZjuQRHD QrPVYeoVb2O+Jf6wjSBQzaq+bHbXWjtYL1FAW9tM/Bcku5N4m2y75doqFVV5Lqp9B2wU lUyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y77si4023483pfk.142.2017.06.08.02.55.54; Thu, 08 Jun 2017 02:55:54 -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=@linaro.org; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751628AbdFHJzq (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:46 -0400 Received: from mail-pg0-f45.google.com ([74.125.83.45]:34475 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602AbdFHJzo (ORCPT ); Thu, 8 Jun 2017 05:55:44 -0400 Received: by mail-pg0-f45.google.com with SMTP id v18so14501486pgb.1 for ; Thu, 08 Jun 2017 02:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vcYD6UdINa4pNLFgmMor+sEyi8ucv+EAsfgDLcmuemE=; b=PoE6npajuZQsMgM8rYuH0G3Q26FE/pHENhYX2abInP1dh69WaK5myrH5FNvLFLNnfl mRjOvRDowZxPqcgxRUYm6YBvyitVK/bEB6/KsiaLOlH7je2nNBCLhlfhd8+zVfZ0XrIv Bkh9JDsKeTx2y1LdG6j5BMjnDfUHQhvWh1qwY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vcYD6UdINa4pNLFgmMor+sEyi8ucv+EAsfgDLcmuemE=; b=rfGLupSDhXqVufVzkWcUec5Ma5Aee/ZoUTjfnTxI3SUEWH0L+Agsox3pgz8ix/ltPy 0CpII9jVsb3J43OGWizoxVWfJzE46qJh6kREvs+DBG1PsOu8wSiwhCDaDfnVUYQur0it HnYXlTL+co74GcN78p33DTX4iUyFeiQBfNLcaHaN7dQrETOhtVWCKz76xPF/pvPkq4UQ NRZFDXnQylW/bnEDgffVyvO1TwX5CFKpLyMqFQJM8h5kKXlCrvW846LuSOR8w8olC6Zk SUcdSytkQMA+8F2wX8f6b1/G/V3DsyMwB06D3tlnIStbBkksBgHl9fwcaA6bWjDT4wgY Hm9A== X-Gm-Message-State: AODbwcAejNO5vo6PP/XiFSvbNNXKv2B7tYdjyvVE3oIh8qL2EbHZ48++ aaY71h9MeTWg8DQl X-Received: by 10.84.179.193 with SMTP id b59mr32948618plc.3.1496915744013; Thu, 08 Jun 2017 02:55:44 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:42 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Lorenzo Colitti Subject: [PATCH 7/9] config: android-base: enable CONFIG_INET_DIAG_DESTROY Date: Thu, 8 Jun 2017 15:25:10 +0530 Message-Id: <1496915712-14176-8-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lorenzo Colitti As of Android N, this is required to close sockets when a network disconnects. Reviewed-at: https://android-review.googlesource.com/#/c/322674/ [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 62cb392fc34b..5ecedaaf7c2e 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -27,6 +27,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_INET6_AH=y +CONFIG_INET6_DIAG_DESTROY=y CONFIG_INET6_ESP=y CONFIG_INET6_IPCOMP=y CONFIG_INET=y