diff options
author | David S. Miller <davem@davemloft.net> | 2009-08-14 19:07:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-14 19:07:21 -0400 |
commit | cf9911166113e471e1796eaf273982d8e43b138d (patch) | |
tree | 141ca87902690967620d6297c88746e2adb6dae5 /drivers/net/ixgbe | |
parent | deeb16dc24b68cbdca72dc717ae82178a6644801 (diff) | |
parent | 88512935a24305fea7aecc9ba4d675869e97fc2a (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_fcoe.c | 2 | ||||
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_fcoe.c b/drivers/net/ixgbe/ixgbe_fcoe.c index fa9f24e2368..28cf104e36c 100644 --- a/drivers/net/ixgbe/ixgbe_fcoe.c +++ b/drivers/net/ixgbe/ixgbe_fcoe.c | |||
@@ -336,7 +336,7 @@ int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter, | |||
336 | /* return 0 to bypass going to ULD for DDPed data */ | 336 | /* return 0 to bypass going to ULD for DDPed data */ |
337 | if (fcstat == IXGBE_RXDADV_STAT_FCSTAT_DDP) | 337 | if (fcstat == IXGBE_RXDADV_STAT_FCSTAT_DDP) |
338 | rc = 0; | 338 | rc = 0; |
339 | else | 339 | else if (ddp->len) |
340 | rc = ddp->len; | 340 | rc = ddp->len; |
341 | } | 341 | } |
342 | 342 | ||
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 71df9ed9b53..8a8518dd694 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -494,12 +494,12 @@ static void ixgbe_receive_skb(struct ixgbe_q_vector *q_vector, | |||
494 | 494 | ||
495 | skb_record_rx_queue(skb, ring->queue_index); | 495 | skb_record_rx_queue(skb, ring->queue_index); |
496 | if (!(adapter->flags & IXGBE_FLAG_IN_NETPOLL)) { | 496 | if (!(adapter->flags & IXGBE_FLAG_IN_NETPOLL)) { |
497 | if (adapter->vlgrp && is_vlan && (tag != 0)) | 497 | if (adapter->vlgrp && is_vlan && (tag & VLAN_VID_MASK)) |
498 | vlan_gro_receive(napi, adapter->vlgrp, tag, skb); | 498 | vlan_gro_receive(napi, adapter->vlgrp, tag, skb); |
499 | else | 499 | else |
500 | napi_gro_receive(napi, skb); | 500 | napi_gro_receive(napi, skb); |
501 | } else { | 501 | } else { |
502 | if (adapter->vlgrp && is_vlan && (tag != 0)) | 502 | if (adapter->vlgrp && is_vlan && (tag & VLAN_VID_MASK)) |
503 | vlan_hwaccel_rx(skb, adapter->vlgrp, tag); | 503 | vlan_hwaccel_rx(skb, adapter->vlgrp, tag); |
504 | else | 504 | else |
505 | netif_rx(skb); | 505 | netif_rx(skb); |