The following commit has been merged in the master branch: commit 6f0ff747b7a61736eb40790eb4c279599d937672 Author: Antonio Quartulli ordex@autistici.org Date: Thu Jun 16 00:32:25 2011 +0200
batman-adv: skbs have to be freed using kfree_skb()
The skb structures have always to be freed using kfree_skb() and not the simple kfree()
Signed-off-by: Antonio Quartulli ordex@autistici.org
diff --git a/translation-table.c b/translation-table.c index adecf1b..373ee81 100644 --- a/translation-table.c +++ b/translation-table.c @@ -1199,7 +1199,7 @@ out: if (primary_if) hardif_free_ref(primary_if); if (!ret) - kfree(skb); + kfree_skb(skb); return ret;
} @@ -1312,7 +1312,7 @@ out: if (primary_if) hardif_free_ref(primary_if); if (!ret) - kfree(skb); + kfree_skb(skb); /* This packet was for me, so it doesn't need to be re-routed */ return true; }