From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Thu, 1 Nov 2012 12:47:01 +0800 References: <1351521488-17271-1-git-send-email-ordex@autistici.org> In-Reply-To: <1351521488-17271-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201211011247.01523.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: free the dat hash only if not NULL Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org On Monday, October 29, 2012 22:38:08 Antonio Quartulli wrote: > It could be the case that the user tries to disable DAT when it is already > disabled. To prevent kernel oops, batadv_dat_hash_free() has to check for > the hash table pointer being different from NULL before to try to free it. > > This was introduced by ("batman-adv: Distributed ARP Table - add runtime > switch") > > Signed-off-by: Antonio Quartulli > --- > distributed-arp-table.c | 3 +++ > 1 file changed, 3 insertions(+) Applied in revision 59f8434. Thanks, Marek