netem: free skb's in tree on reset
authorstephen hemminger <stephen@networkplumber.org>
Sun, 6 Oct 2013 22:16:49 +0000 (15:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Oct 2013 21:30:38 +0000 (17:30 -0400)
commitff704050f2fc0f3382b5a70bba56a51a3feca79d
treed4ba003c5b40b929ab08a50d720a9df2e69be58a
parent638a52b801e40ed276ceb69b73579ad99365361a
netem: free skb's in tree on reset

Netem can leak memory because packets get stored in red-black
tree and it is not cleared on reset.

Reported by: Сергеев Сергей <adron@yapic.net>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c