Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758004Ab0KOQpq (ORCPT ); Mon, 15 Nov 2010 11:45:46 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:55782 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757990Ab0KOQpp (ORCPT ); Mon, 15 Nov 2010 11:45:45 -0500 Date: Mon, 15 Nov 2010 08:46:09 -0800 (PST) Message-Id: <20101115.084609.71124618.davem@davemloft.net> To: kaber@trash.net Cc: eparis@redhat.com, hzhong@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kuznet@ms2.inr.ac.ru, pekkas@netcore.fi, jmorris@namei.org, yoshfuji@linux-ipv6.org, netfilter-devel@vger.kernel.org Subject: Re: [RFC PATCH] network: return errors if we know tcp_connect failed From: David Miller In-Reply-To: <4CE16198.7000709@trash.net> References: <1289836066.14282.7.camel@localhost.localdomain> <4CE15885.90003@trash.net> <4CE16198.7000709@trash.net> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 503 Lines: 13 From: Patrick McHardy Date: Mon, 15 Nov 2010 17:36:40 +0100 > Patch for demonstration purposes attached. I've modified the > MARK target so it returns NF_DROP with an errno code of > -ECONNREFUSED: I'm fine with the tcp_output.c changes. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/