pull request: batman-adv 2011-10-29
Message ID | 1319875606-7794-1-git-send-email-lindner_marek@yahoo.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers |
Return-Path: <lindner_marek@yahoo.de> Received: from nm2-vm0.bullet.mail.ukl.yahoo.com (nm2-vm0.bullet.mail.ukl.yahoo.com [217.146.183.226]) by open-mesh.org (Postfix) with SMTP id 7409A60079F for <b.a.t.m.a.n@lists.open-mesh.org>; Sat, 29 Oct 2011 10:07:03 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@yahoo.de; dkim-adsp=none Received: from [217.146.183.216] by nm2.bullet.mail.ukl.yahoo.com with NNFMP; 29 Oct 2011 08:07:02 -0000 Received: from [77.238.184.65] by tm9.bullet.mail.ukl.yahoo.com with NNFMP; 29 Oct 2011 08:07:02 -0000 Received: from [127.0.0.1] by smtp134.mail.ukl.yahoo.com with NNFMP; 29 Oct 2011 08:07:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1319875622; bh=Qa4jFNObYcX9bIc439GHSR7HMW9MNu+HS7cX39PnS7k=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=ECW8llEH4JbYGa4oYr9XIpMqTPiw8pVqnDPs2NwYw6Y3ZWdHhNEQyISX7GMtr84Xo3pMprPoaGWWWLyPl/CX2kniRMXmi20nL2YZXpVWNMX2NoKG8nsJHby3vdfvH5E7ARHBByfnSBJQ6rCETY+QrOxGG9F7jlutX/0M9cVL6KI= X-Yahoo-Newman-Id: 857251.68652.bm@smtp134.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BA3Pv7sVM1nhYzI5lJoYro.JE2emyuF.cjBiMs2aJloXNMf FvqZaG3XjAUXmIvAJcLUuAT3mAXku.TWt9FUF3QIUeo12c_TD57V8fLagUV3 s4bo9NDTA6odI9G6Z6gH7vBtE33q7R0k0Hzk6Tpm29z.xl8r9_hmsfA7XbuL N8fRBaOzZx1Kzd.UwFuokKcaZLLmtHU1tpQiedotu0OCsrRbWese3IzTyBm3 XtKqnOCmSe95sATAkzS6Q6MM9GG8K5hQ9S4qo0l68x.8iN3zFgrvXDbXDRft kYgxZxboFH__nnCW6XVIrQVfjRT3GXxWBronYfJNCcYkNx5O4GX3w7pe7IgV oS2wx1lsRFwHc1yc2w9q5XkQ1sNarsrgF71bq60em9cf31eJFPb1KECKEp.q 55bdkNgLp90Z_Xvdj.qrTp_tj89R.M1K0r4nigU6mYa0Hvs3zbcn3E7j7amm 4rnWwAHB95u1IoGM- X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@78.46.248.235 with plain) by smtp134.mail.ukl.yahoo.com with SMTP; 29 Oct 2011 08:07:01 +0000 GMT From: Marek Lindner <lindner_marek@yahoo.de> To: davem@davemloft.net Date: Sat, 29 Oct 2011 10:06:43 +0200 Message-Id: <1319875606-7794-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.5.4 Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, stable@kernel.org Subject: [B.A.T.M.A.N.] pull request: batman-adv 2011-10-29 X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n@lists.open-mesh.org> 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: Sat, 29 Oct 2011 08:07:03 -0000 |
Pull-request
git://git.open-mesh.org/linux-merge.git batman-adv/maintMessage
Marek Lindner
Oct. 29, 2011, 8:06 a.m. UTC
Hi David, we have 3 more bugfixes for you which we would like to see getting merged into net-next/linux-3.2. They fix refcounting, a crash on module unload and a protocol handling bug. Thanks, Marek The following changes since commit 9d8523931f7f5eb8900077f0da0fbe6b8ad0010b: batman-adv: correctly set the data field in the TT_REPONSE packet (2011-10-18 22:45:10 +0200) are available in the git repository at: git://git.open-mesh.org/linux-merge.git batman-adv/maint Antonio Quartulli (1): batman-adv: unify hash_entry field position in tt_local/global_entry Simon Wunderlich (2): batman-adv: remove references for global tt entries batman-adv: add sanity check when removing global tts net/batman-adv/translation-table.c | 17 ++++++++++++++++- net/batman-adv/types.h | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-)
Comments
From: Marek Lindner <lindner_marek@yahoo.de> Date: Sat, 29 Oct 2011 10:06:43 +0200 > git://git.open-mesh.org/linux-merge.git batman-adv/maint Pulled, but long term you should shore up your datastructures to handle that issue in patch #3. Make a common header: struct tt_entry_common { u8 addr[ETH_ALEN]; struct hlist_node hash_entry; }; Then use that at the beginning of both structures: struct tt_local_entry { struct tt_entry_common common; unsigned long last_seen; ... }; struct tt_global_entry { struct tt_entry_comomn common; struct orig_node *orig_node; ... }; And &p->common is what gets passed into tt_response_fill_table().
On Sunday 30 October 2011 03:07:45 David Miller wrote: [...] > Make a common header: > > struct tt_entry_common { > u8 addr[ETH_ALEN]; > struct hlist_node hash_entry; > }; > > Then use that at the beginning of both structures: > > struct tt_local_entry { > struct tt_entry_common common; > unsigned long last_seen; > ... > }; > > struct tt_global_entry { > struct tt_entry_comomn common; > struct orig_node *orig_node; > ... > }; > > And &p->common is what gets passed into tt_response_fill_table(). Thanks for the pull. This is exactly the long term solution we want to submit later to net-next. But we also wanted to keep the patch as small as possible for stable@kernel.org Thanks, Sven