From patchwork Thu Oct 18 19:24:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 192424 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 824112C0096 for ; Fri, 19 Oct 2012 06:25:47 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752653Ab2JRTZk (ORCPT ); Thu, 18 Oct 2012 15:25:40 -0400 Received: from contumacia.investici.org ([178.255.144.35]:61105 "EHLO contumacia.investici.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155Ab2JRTZk (ORCPT ); Thu, 18 Oct 2012 15:25:40 -0400 Received: from [178.255.144.35] (contumacia [178.255.144.35]) (Authenticated sender: ordex@autistici.org) by localhost (Postfix) with ESMTPSA id 96C1DE889E; Thu, 18 Oct 2012 19:25:35 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 contumacia.investici.org 96C1DE889E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1350588337; bh=gPHECltApobs+AuSizmSbMO9lNQ03nN6Qwk5NCM9+n0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding; b=hSrrOJ3kFC1kDgx5sMJYVxhA4dbjvEH4xmlP06fYY/Qkptfui1y2QZ/NVUksA8Q1D T8F7YFCiXQvVUWu0goftXAbw+dVHqdTkHWhF3bhMZja38swBao9ae+cyvBzMiIpRfi P13+yE0id5+h76x4sXysvbECFLeq9XogvwvvR58A= From: Antonio Quartulli To: davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org Subject: pull request: batman-adv 2012-10-18 Date: Thu, 18 Oct 2012 21:24:53 +0200 Message-Id: <1350588295-22587-1-git-send-email-ordex@autistici.org> X-Mailer: git-send-email 1.7.12.3 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello David, here are two fixes intended for net. The first one fixes the CRC computation used to check for broadcast packet duplicates. The wrong result lead to many (more than 80%) broadcast packets being dropped and so making the network very slow and mostly unusable. Think about all the ARP or DHCP requests not going through. The second patch fixes a potential race condition, still in the same duplicated broadcast check procedure, which can lead to wrong outcomes under certain circumstances. I would also like to enqueue patch 1/2 for sending to stable-{3.5/3.6}. Thanks a lot, Antonio The following changes since commit 43c422eda99b894f18d1cca17bcd2401efaf7bd0: apparmor: fix apparmor OOPS in audit_log_untrustedstring+0x1c/0x40 (2012-10-17 16:29:46 -0700) are available in the git repository at: git://git.open-mesh.org/linux-merge.git tags/batman-adv-fix-for-davem for you to fetch changes up to 7dac7b76b8db87fc79857a53a09730fb2148579b: batman-adv: Fix potential broadcast BLA-duplicate-check race condition (2012-10-18 18:17:31 +0200) ---------------------------------------------------------------- Included fixes: - Fix broadcast packet CRC calculation which can lead to ~80% broadcast packet loss - Fix a race condition in duplicate broadcast packet check ---------------------------------------------------------------- Linus Lüssing (2): batman-adv: Fix broadcast packet CRC calculation batman-adv: Fix potential broadcast BLA-duplicate-check race condition net/batman-adv/bridge_loop_avoidance.c | 27 ++++++++++++++++++--------- net/batman-adv/routing.c | 8 +++++++- net/batman-adv/types.h | 2 ++ 3 files changed, 27 insertions(+), 10 deletions(-) --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html