netdev
[Top] [All Lists]

Re: kfree_skb

To: Chuck Winters <cwinters@xxxxxxxxxxxx>
Subject: Re: kfree_skb
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2001 21:08:42 -0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20011210133840.A1534@xxxxxxxxxxxx>
References: <20011210133840.A1534@xxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mutt/1.3.23i
Em Mon, Dec 10, 2001 at 01:38:40PM -0500, Chuck Winters escreveu:
> Can bad things happen in 2.2 if you kfree_skb more than once?

not if it matches the number of skb_get on it (or other operations that
bump the skb refcount, dunno if it exists in 2.2, I'm looking at 2.4, that
bumps the refcount at least in skb_recv_datagram) 8)

- Arnaldo

<Prev in Thread] Current Thread [Next in Thread>