Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173690
b: refs/heads/master
c: be276cb
h: refs/heads/master
v: v3
  • Loading branch information
Yi Zou authored and James Bottomley committed Dec 4, 2009
1 parent 9508469 commit ed5e834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ae1e19f251335a24ce6cd13f08b4af560ed8765
refs/heads/master: be276cbe1bd680ab1f6c297017dd658e5a6b10d2
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/fcoe/libfcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,7 @@ static void fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip,
if (!fcf || !fc_host_port_id(lp->host))
return;

len = fcoe_ctlr_fcoe_size(fip) + sizeof(struct ethhdr);
BUG_ON(len < sizeof(*kal) + sizeof(*vn));
len = sizeof(*kal) + ports * sizeof(*vn);
skb = dev_alloc_skb(len);
if (!skb)
return;
Expand Down

0 comments on commit ed5e834

Please sign in to comment.