Skip to content
Commit a55eb05a authored by Jens Osterkamp's avatar Jens Osterkamp Committed by Jeff Garzik
Browse files

spidernet : fix memory leak in spider_net_stop



We forget to call spider_net_free_rx_chain_contents which does the
actual dev_kfree_skb. New skbs are allocated from skbuff_head_cache
on each "ifconfig up" letting the cache grow infinitely.

This patch fixes it.

Signed-off-by: default avatarJens Osterkamp <jens@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent a53a33da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment