Skip to content

Commit

Permalink
Disable GSO on vhost0 as there are issues with agent restart (due to a
Browse files Browse the repository at this point in the history
vrouter issue which results in skb gso_size being reset to 0 when packets
are trapped to the agent)

Fixes bug 1379240

Change-Id: If09c0c24a48a93e9463abd175993d99cecd4ecf2
  • Loading branch information
srajag committed Oct 13, 2014
1 parent 06bdd00 commit 40144c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions linux/vhost_dev.c
Expand Up @@ -225,8 +225,6 @@ vhost_if_add(struct vr_interface *vif)

vp->vp_vifp = vif;
if (vif->vif_type == VIF_TYPE_HOST) {
dev->features |= (NETIF_F_GSO | NETIF_F_TSO | NETIF_F_SG | NETIF_F_IP_CSUM);

if (vif->vif_bridge) {
vp->vp_phys_dev =
(struct net_device *)vif->vif_bridge->vif_os;
Expand Down
1 change: 0 additions & 1 deletion linux/vr_host_interface.c
Expand Up @@ -941,7 +941,6 @@ linux_to_vr(struct vr_interface *vif, struct sk_buff *skb)
if (!pkt)
return 0;

pkt->vp_flags |= VP_FLAG_GSO;
vif->vif_rx(vif, pkt, VLAN_ID_INVALID);

return 0;
Expand Down

0 comments on commit 40144c5

Please sign in to comment.