From: David L Stevens Date: Mon, 26 Jan 2015 20:54:35 +0000 (-0500) Subject: sunvnet: free pending tx buffers before clearing ring data X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~121^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07ac3e7099b5788ee4b78233c96532c6209a304b;p=pandora-kernel.git sunvnet: free pending tx buffers before clearing ring data This patch moves the clearing of ring data in vnet_port_free_tx_bufs to after the freeing of pending buffers in the ring. Otherwise, this can result in dereferencing a NULL pointer. Reported-by: Sowmini Varadhan Signed-off-by: David L Stevens Signed-off-by: David S. Miller --- Reading git-diff-tree failed