libcxgbi: fix freeing skb prematurely
authorKaren Xie <kxie@chelsio.com>
Fri, 12 Dec 2014 03:13:47 +0000 (19:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2014 16:22:30 +0000 (11:22 -0500)
commited481a33ee824bfee20319fc478503926bcf5f56
treea1f9de6d0543bfc7b45a9d9a9088eb6f446a28ef
parent2126bc5e872cefd808a6590c5cec797997a6490d
libcxgbi: fix freeing skb prematurely

With debug turned on the debug print would access the skb after it is freed.
Fix it to free the skb after the debug print.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/libcxgbi.c