From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 15 Jun 2011 20:56:17 +0200 References: <1308067299-2282-1-git-send-email-ordex@autistici.org> In-Reply-To: <1308067299-2282-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: <201106152056.18072.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: skbs have to be freed using kfree_skb() 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: The list for a Better Approach To Mobile Ad-hoc Networking On Tuesday, June 14, 2011 06:01:39 PM Antonio Quartulli wrote: > @@ -1299,7 +1299,7 @@ int recv_roam_adv(struct sk_buff *skb, struct > hard_iface *recv_if) orig_node_free_ref(orig_node); > ret = NET_RX_SUCCESS; > out: > - kfree(skb); > + kfree_skb(skb); > return ret; > } > I'd say recv_roam_adv() suffers from the same problem you fixed in recv_tt_query() with your previous patch. Wouldn't you say so ? Cheers, Marek