pull request [net]: batman-adv fixes 20150805
Message ID | 1438779107-12665-1-git-send-email-antonio@meshcoding.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers |
Return-Path: <antonio@meshcoding.com> Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=5.148.176.57; helo=s1.neomailbox.net; envelope-from=antonio@meshcoding.com; receiver=b.a.t.m.a.n@lists.open-mesh.org Received: from s1.neomailbox.net (s1.neomailbox.net [5.148.176.57]) by open-mesh.org (Postfix) with ESMTPS id DD76D80558 for <b.a.t.m.a.n@lists.open-mesh.org>; Wed, 5 Aug 2015 14:53:06 +0200 (CEST) From: Antonio Quartulli <antonio@meshcoding.com> To: davem@davemloft.net Date: Wed, 5 Aug 2015 14:51:43 +0200 Message-Id: <1438779107-12665-1-git-send-email-antonio@meshcoding.com> Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org Subject: [B.A.T.M.A.N.] pull request [net]: batman-adv fixes 20150805 X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n.lists.open-mesh.org> List-Unsubscribe: <https://lists.open-mesh.org/mm/options/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=unsubscribe> List-Archive: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/> List-Post: <mailto:b.a.t.m.a.n@lists.open-mesh.org> List-Help: <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=help> List-Subscribe: <https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=subscribe> X-List-Received-Date: Wed, 05 Aug 2015 12:53:07 -0000 |
Pull-request
git://git.open-mesh.org/linux-merge.git tags/batman-adv-fix-for-davemMessage
Antonio Quartulli
Aug. 5, 2015, 12:51 p.m. UTC
Hello David, here you have our patchset for net/linux-4.2 which contains only patches that we think to be important (meaning they fix critical crashes/misbehaviours actually reported by some users). Patch 1 (by me) is preventing DAT from injecting replies received from the mesh into the LAN which would confuse a L2 bridge. Patch 2 introduces several NULL checks in order to prevent spurious kernel crashes due to NULL pointer deferences, by Marek Lindnder. Patches 3, still by Marek, prevent accidental double deletions of tt_local_entry objects from their own lists which would lead to a kernel crash. Patch 4 by Simon Wunderlich fixes a memory leak which is triggered by the missing initialization of the bandwidth_up/down fields of the bat-GW struct. If possible, I'd recommend to consider all these patches for inclusion in the stable releases. Please pull or let me know if anything else is wrong! Thanks a lot David, Antonio The following changes since commit 2475b22526d70234ecfe4a1ff88aed69badefba9: xen-netback: Allocate fraglist early to avoid complex rollback (2015-08-03 22:23:03 -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 27a4d5efd417b6ef3190e9af357715532d4617a3: batman-adv: initialize up/down values when adding a gateway (2015-08-05 00:31:47 +0200) ---------------------------------------------------------------- Included changes: - prevent DAT from replying on behalf of local clients and confuse L2 bridges - fix crash on double list removal of TT objects (tt_local_entry) - fix crash due to missing NULL checks - initialize bw values for new GWs objects to prevent memory leak ---------------------------------------------------------------- Antonio Quartulli (1): batman-adv: avoid DAT to mess up LAN state Marek Lindner (2): batman-adv: fix kernel crash due to missing NULL checks batman-adv: protect tt_local_entry from concurrent delete events Simon Wunderlich (1): batman-adv: initialize up/down values when adding a gateway net/batman-adv/distributed-arp-table.c | 18 +++++++++++++----- net/batman-adv/gateway_client.c | 2 ++ net/batman-adv/soft-interface.c | 3 +++ net/batman-adv/translation-table.c | 29 ++++++++++++++++++++++++----- 4 files changed, 42 insertions(+), 10 deletions(-)
Comments
From: Antonio Quartulli <antonio@meshcoding.com> Date: Wed, 5 Aug 2015 14:51:43 +0200 > git://git.open-mesh.org/linux-merge.git tags/batman-adv-fix-for-davem Pulled and queued up for -stable, thanks.