Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340558
b: refs/heads/master
c: f9d08f1
h: refs/heads/master
v: v3
  • Loading branch information
Greg Rose authored and Jeff Kirsher committed Oct 30, 2012
1 parent 4ad9b88 commit 89c7256
Show file tree
Hide file tree
Showing 2 changed files with 6 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: f42df16756dbcaba7b50cb7bbb0833b65d3ae167
refs/heads/master: f9d08f165b8a5a4af6f827318e692b57bc683825
5 changes: 5 additions & 0 deletions trunk/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2968,6 +2968,11 @@ static int ixgbevf_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
#if PAGE_SIZE > IXGBE_MAX_DATA_PER_TXD
unsigned short f;
#endif
u8 *dst_mac = skb_header_pointer(skb, 0, 0, NULL);
if (!dst_mac || is_link_local(dst_mac)) {
dev_kfree_skb(skb);
return NETDEV_TX_OK;
}

tx_ring = &adapter->tx_ring[r_idx];

Expand Down

0 comments on commit 89c7256

Please sign in to comment.