From owner-freebsd-net@FreeBSD.ORG Mon Jun 10 13:36:37 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1ACB241 for ; Mon, 10 Jun 2013 13:36:37 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 6A58F1894 for ; Mon, 10 Jun 2013 13:36:37 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id a1so1614640qcx.39 for ; Mon, 10 Jun 2013 06:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=5oyVe/boUocJlDAMrIbDl5WozO7Qsev19x7lskFlRl0=; b=t8KvPPxJSUX1wDY70LuXxCQqfS6NHeQkddcIOi7HIS0MXO5Ln9jQCV6hJzQgn7K0JO W2alzsaujly5B0JsvT738gHbVUioaEL+zv02RgM3mtIZQ2MfBwxaNjDxkDrbhJIwJ0EK Xr9Ax6HgfIsmR5R8acylJ7LiSulFnojMrBj9n34kB5LEgakiXib+ppJPcZW0TWNOzzxe 08DEKcKK5dthDiLLoumSx9UqL/1on50ugLi0eC5YTNCXLdrjBTXPESqZWM2Ih6oxYgpH 9jwxKqox3lwtneh0h5FUb9+IOAFHu0DNR7y4veW3zXzVw/gQP+ixzztroi5m+rjwhNLT 48vQ== MIME-Version: 1.0 X-Received: by 10.229.170.199 with SMTP id e7mr4001938qcz.29.1370871396930; Mon, 10 Jun 2013 06:36:36 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.49.51.8 with HTTP; Mon, 10 Jun 2013 06:36:36 -0700 (PDT) Date: Mon, 10 Jun 2013 15:36:36 +0200 X-Google-Sender-Auth: n0_IxB0XbzOtQU6VLz2nbDdZPhI Message-ID: Subject: [PATCH] CARP using rw locks and unified timer From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: freebsd-net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 13:36:37 -0000 Hello, at the location [1] is a patch for making carp(4): - use rw locks - unify the timers in carp to a single one for accuracy and predictability This patch has been tested in pfSense for a long time and recently it has been moved to FreeBSD 10. It also fixed some races and LORs present in the whole stack especially with bridge interfaces. Any objections to merging this into FreeBSD? [1] https://github.com/pfsense/pfsense-tools/blob/master/patches/RELENG_10_0/carp_livelock_fixes.diff -- Ermal