[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151109.214841.1605479864705880795.davem@davemloft.net>
Date: Mon, 09 Nov 2015 21:48:41 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jmaggard10@...il.com
Cc: netdev@...r.kernel.org, jmaggard@...gear.com
Subject: Re: [PATCH] net: mvneta: Fix memory use after free.
From: Justin Maggard <jmaggard10@...il.com>
Date: Mon, 9 Nov 2015 17:21:05 -0800
> After changing an interface's MTU, then bringing the interface down and
> back up again, I immediately saw tons of kernel messages like below.
> The reason for this bad behavior is mvneta_rxq_drop_pkts(), which calls
> dma_unmap_single() on already-freed memory. So we need to switch the
> order of those two operations.
...
> Signed-off-by: Justin Maggard <jmaggard@...gear.com>
Applied, thanks Justin.
--
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