From 610f179d7496e7a7807bec898284b872535bb00d Mon Sep 17 00:00:00 2001 From: Lorenzo Colitti Date: Mon, 16 Jan 2017 17:35:52 +0900 Subject: [PATCH] android: base-cfg: enable CONFIG_INET_DIAG_DESTROY As of Android N, this is required to close sockets when a network disconnects. Change-Id: I9fe81c5fc5224c17bfd8d9e236ea9e436b5971cb (cherry picked from commit 4a15cee4bdaf764756e98cd8f03784f330459ab1) Signed-off-by: Greg Kroah-Hartman --- kernel/configs/android-base.config | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index 59c4f3a..30e0107 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -29,6 +29,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 -- 2.7.4