aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_fcoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
index 7cb2cd48b17b..2c780a78fcbd 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
@@ -302,7 +302,7 @@ static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp)
302 return -ENOMEM; 302 return -ENOMEM;
303 } 303 }
304 frag = &skb_shinfo(skb)->frags[skb_shinfo(skb)->nr_frags - 1]; 304 frag = &skb_shinfo(skb)->frags[skb_shinfo(skb)->nr_frags - 1];
305 cp = kmap_atomic(frag->page, KM_SKB_DATA_SOFTIRQ) 305 cp = kmap_atomic(skb_frag_page(frag), KM_SKB_DATA_SOFTIRQ)
306 + frag->page_offset; 306 + frag->page_offset;
307 } else { 307 } else {
308 cp = (struct fcoe_crc_eof *)skb_put(skb, tlen); 308 cp = (struct fcoe_crc_eof *)skb_put(skb, tlen);