libcxgbi: free skb after debug prints
Subsystems (3)
PATCH v6 7/7 libcxgbi: free skb after debug prints
[PATCH net v6 7/7] libcxgbi: free skb after debug prints
From: Karen Xie <[email protected]>
The debug print was accessing the skb after it was freed.
--- drivers/scsi/cxgbi/libcxgbi.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/scsi/cxgbi/libcxgbi.c +3 -1
@@ -2294,10 +2294,12 @@ int cxgbi_conn_xmit_pdu(struct iscsi_task *task)return err; } -kfree_skb (skb);log_debug (1 <<CXGBI_DBG_ISCSI |1 <<CXGBI_DBG_PDU_TX ,"itt 0x%x, skb 0x%p, len %u/%u, xmit err %d.\n" , task->itt, skb, skb->len, skb->data_len, err); + +kfree_skb (skb); +iscsi_conn_printk (KERN_ERR , task->conn,"xmit err %d.\n" , err);iscsi_conn_failure (task->conn,ISCSI_ERR_XMIT_FAILED );return err;
Hello.
Quoted 1 line · Karen Xie
[PATCH net v6 7/7] libcxgbi: free skb after debug prints
Please, do not duplicate the subject in the changelog -- DaveM would have
to edit it out by hand.
Quoted 5 lines
From: Karen Xie <[email protected]>
The debug print was accessing the skb after it was freed.
Signed-off-by Karen Xie <[email protected]>
WBR, Sergei
Thanks, v7 has been submitted to address your comment. Please review.
________________________________________
From: Sergei Shtylyov [[email protected]]
Sent: Wednesday, December 10, 2014 11:38 AM
To: Karen Xie; [email protected]; [email protected]
Cc: Hariprasad S; Anish Bhatt; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH net v6 7/7] libcxgbi: free skb after debug prints
Hello.
Quoted 1 line · Karen Xie
[PATCH net v6 7/7] libcxgbi: free skb after debug prints
Please, do not duplicate the subject in the changelog -- DaveM would have
to edit it out by hand.
Quoted 5 lines
From: Karen Xie <[email protected]>
The debug print was accessing the skb after it was freed.
Signed-off-by Karen Xie <[email protected]>
WBR, Sergei
David Miller
maintainerFrom: Karen Xie <[email protected]>
Date: Wed, 10 Dec 2014 20:26:59 +0000
Quoted 1 line
Thanks, v7 has been submitted to address your comment. Please review.
Sorry, you did not actually address his comments.
He said to not duplicate your Subject lines in your message bodies, and you did not fix that.
Sorry, misread the comment, will resubmit. Thanks.
-----Original Message-----
From: David Miller [mailto:[email protected]]
Sent: Wednesday, December 10, 2014 12:33 PM
To: Karen Xie
Cc: [email protected]; [email protected]; [email protected]; Hariprasad S; Anish Bhatt; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH net v6 7/7] libcxgbi: free skb after debug prints
From: Karen Xie <[email protected]>
Date: Wed, 10 Dec 2014 20:26:59 +0000
Quoted 1 line
Thanks, v7 has been submitted to address your comment. Please review.
Sorry, you did not actually address his comments.
He said to not duplicate your Subject lines in your message bodies, and you did not fix that.
David Miller
maintainerFrom: Karen Xie <[email protected]>
Date: Wed, 10 Dec 2014 21:02:34 +0000
Quoted 1 line
Sorry, misread the comment, will resubmit. Thanks.
Please do not top-post.
Quote the relevant material, then provide your own content after the quoted material, not before.