diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/fcoe/libfcoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c index 7887f2a7c2aa..7265e0937995 100644 --- a/drivers/scsi/fcoe/libfcoe.c +++ b/drivers/scsi/fcoe/libfcoe.c | |||
@@ -437,7 +437,7 @@ int fcoe_xmit(struct fc_lport *lp, struct fc_frame *fp) | |||
437 | if (skb_is_nonlinear(skb)) { | 437 | if (skb_is_nonlinear(skb)) { |
438 | skb_frag_t *frag; | 438 | skb_frag_t *frag; |
439 | if (fcoe_get_paged_crc_eof(skb, tlen)) { | 439 | if (fcoe_get_paged_crc_eof(skb, tlen)) { |
440 | kfree(skb); | 440 | kfree_skb(skb); |
441 | return -ENOMEM; | 441 | return -ENOMEM; |
442 | } | 442 | } |
443 | frag = &skb_shinfo(skb)->frags[skb_shinfo(skb)->nr_frags - 1]; | 443 | frag = &skb_shinfo(skb)->frags[skb_shinfo(skb)->nr_frags - 1]; |