aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/enic/enic_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index 4cf5ec76c993..e6d5f116ad77 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -941,7 +941,7 @@ static void enic_rq_indicate_buf(struct vnic_rq *rq,
941 941
942 if (enic->vlan_group && vlan_stripped) { 942 if (enic->vlan_group && vlan_stripped) {
943 943
944 if (ENIC_SETTING(enic, LRO)) 944 if (ENIC_SETTING(enic, LRO) && ipv4)
945 lro_vlan_hwaccel_receive_skb(&enic->lro_mgr, 945 lro_vlan_hwaccel_receive_skb(&enic->lro_mgr,
946 skb, enic->vlan_group, 946 skb, enic->vlan_group,
947 vlan, cq_desc); 947 vlan, cq_desc);
@@ -951,7 +951,7 @@ static void enic_rq_indicate_buf(struct vnic_rq *rq,
951 951
952 } else { 952 } else {
953 953
954 if (ENIC_SETTING(enic, LRO)) 954 if (ENIC_SETTING(enic, LRO) && ipv4)
955 lro_receive_skb(&enic->lro_mgr, skb, cq_desc); 955 lro_receive_skb(&enic->lro_mgr, skb, cq_desc);
956 else 956 else
957 netif_receive_skb(skb); 957 netif_receive_skb(skb);