Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753373AbaLGSfu (ORCPT ); Sun, 7 Dec 2014 13:35:50 -0500 Received: from ja.ssi.bg ([178.16.129.10]:37262 "EHLO ja.ssi.bg" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752051AbaLGSfr (ORCPT ); Sun, 7 Dec 2014 13:35:47 -0500 Date: Sun, 7 Dec 2014 20:27:33 +0200 (EET) From: Julian Anastasov To: Smart Weblications GmbH - Florian Wiessner cc: Steffen Klassert , netdev@vger.kernel.org, LKML , stable@vger.kernel.org, Simon Horman , lvs-devel@vger.kernel.org Subject: Re: 3.12.33 - BUG xfrm_selector_match+0x25/0x2f6 In-Reply-To: <5481B944.2000002@smart-weblications.de> Message-ID: References: <547F2462.6040405@smart-weblications.de> <20141204075627.GE6390@secunet.com> <5481173A.9060308@smart-weblications.de> <5481B944.2000002@smart-weblications.de> User-Agent: Alpine 2.11 (LFD 23 2013-08-11) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1463811672-124321293-1417976855=:1885" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811672-124321293-1417976855=:1885 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello, On Fri, 5 Dec 2014, Smart Weblications GmbH - Florian Wiessner wrote: > thank you for the fast responses! I would like to test any patch for 3.12. I'm attaching a patch that avoids rerouting in IPVS for LOCAL_IN. Please test it in your setup. My tests were with NAT on today's net tree. I checked that it compiles for 3.12.33. You can use the default snat_reroute=1. Regards -- Julian Anastasov ---1463811672-124321293-1417976855=:1885 Content-Type: TEXT/plain; name=0001-ipvs-rerouting-to-local-clients-is-not-needed-anymore.txt Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: patch Content-Disposition: attachment; filename=0001-ipvs-rerouting-to-local-clients-is-not-needed-anymore.txt R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VmZiAqc2tiLCBpbnQgYWYpDQogCWNwID0gcHAtPmNvbm5fb3V0 X2dldChhZiwgc2tiLCAmaXBoLCAwKTsNCiANCiAJaWYgKGxpa2VseShjcCkp DQotCQlyZXR1cm4gaGFuZGxlX3Jlc3BvbnNlKGFmLCBza2IsIHBkLCBjcCwg JmlwaCk7DQorCQlyZXR1cm4gaGFuZGxlX3Jlc3BvbnNlKGFmLCBza2IsIHBk LCBjcCwgJmlwaCwgaG9va251bSk7DQogCWlmIChzeXNjdGxfbmF0X2ljbXBf c2VuZChuZXQpICYmDQogCSAgICAocHAtPnByb3RvY29sID09IElQUFJPVE9f VENQIHx8DQogCSAgICAgcHAtPnByb3RvY29sID09IElQUFJPVE9fVURQIHx8 DQotLSANCjEuOS4zDQoNCg== ---1463811672-124321293-1417976855=:1885-- -- 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/