[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200105.144704.221506192255563950.davem@davemloft.net>
Date: Sun, 05 Jan 2020 14:47:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wgong@...eaurora.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
ath11k@...ts.infradead.org
Subject: Re: [PATCH v2] net: qrtr: fix len of skb_put_padto in
qrtr_node_enqueue
From: Wen Gong <wgong@...eaurora.org>
Date: Fri, 3 Jan 2020 12:50:16 +0800
> The len used for skb_put_padto is wrong, it need to add len of hdr.
Thanks, applied.
There is another bug here, skb_put_padto() returns an error and frees
the SKB when the put fails. There really needs to be a check here,
because currently the code right now will keep using the freed up
skb in that situation.
Thanks.
Powered by blists - more mailing lists