[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081103.012755.210488675.davem@davemloft.net>
Date: Mon, 03 Nov 2008 01:27:55 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] pkt_sched: sch_generic: Kfree gso_skb in
qdisc_reset()
From: Jarek Poplawski <jarkao2@...il.com>
Date: Mon, 3 Nov 2008 09:02:25 +0000
> pkt_sched: sch_generic: Kfree gso_skb in qdisc_reset()
>
> Since gso_skb is re-used for qdisc_peek_dequeued(), and this skb is
> counted in the qdisc->q.qlen, it has to be kfreed during qdisc_reset()
> when qlen is zeroed.
>
> Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
Isn't it necessary, or at least more tidy, to NULL out
this value too?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists