Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150787
b: refs/heads/master
c: ec33a49
h: refs/heads/master
i:
  150785: b10dc52
  150783: 3130ca7
v: v3
  • Loading branch information
Ron Mercer authored and David S. Miller committed Jun 10, 2009
1 parent 8daf016 commit 08823d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a32959cd9df77423c8b375119ee7f135ff302bc1
refs/heads/master: ec33a49135d96df56ef106a49c2434ca81f821f9
9 changes: 9 additions & 0 deletions trunk/drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,15 @@ static void ql_process_mac_rx_intr(struct ql_adapter *qdev,
dev_kfree_skb_any(skb);
return;
}

/* The max framesize filter on this chip is set higher than
* MTU since FCoE uses 2k frames.
*/
if (skb->len > ndev->mtu + ETH_HLEN) {
dev_kfree_skb_any(skb);
return;
}

prefetch(skb->data);
skb->dev = ndev;
if (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) {
Expand Down

0 comments on commit 08823d0

Please sign in to comment.