[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110206.202824.260090071.davem@davemloft.net>
Date: Sun, 06 Feb 2011 20:28:24 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: andrew.hendry@...il.com
Cc: apw@...onical.com, john@...va.com, linux-x25@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
tim.gardner@...onical.com
Subject: Re: x25: possible skb leak on bad facilities
From: Andrew Hendry <andrew.hendry@...il.com>
Date: Tue, 1 Feb 2011 22:55:13 +1100
> There are two callers, when I was crashing it I don't remember it
> using the backlog path.
> x25_process_rx_frame is called from both x25_backlog_rcv and also
> x25_receive_data (via x25_lapb_receive_frame)
>
> But reviewing that second path now it looks like it will also leak, -1
> would make it skip the kfree_skb there as well.
> So patch looks good to me, when I have some time I'll run it through
> the environment I had setup originally to confirm.
Andrew, have you had a chance to do this yet?
--
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