Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136299
b: refs/heads/master
c: 43eb99c
h: refs/heads/master
i:
  136297: 3cb9b83
  136295: 0a90ca2
v: v3
  • Loading branch information
Chris Leech authored and James Bottomley committed Mar 13, 2009
1 parent 6074eb3 commit 433f97e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 211c738d86f3f423f1b218ab3a356c9538e38047
refs/heads/master: 43eb99c5b349b188f82725652f3d1018c619d682
2 changes: 1 addition & 1 deletion trunk/drivers/net/xen-netfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ static int xennet_set_tso(struct net_device *dev, u32 data)
static void xennet_set_features(struct net_device *dev)
{
/* Turn off all GSO bits except ROBUST. */
dev->features &= (1 << NETIF_F_GSO_SHIFT) - 1;
dev->features &= ~NETIF_F_GSO_MASK;
dev->features |= NETIF_F_GSO_ROBUST;
xennet_set_sg(dev, 0);

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ struct net_device

/* Segmentation offload features */
#define NETIF_F_GSO_SHIFT 16
#define NETIF_F_GSO_MASK 0xffff0000
#define NETIF_F_GSO_MASK 0x00ff0000
#define NETIF_F_TSO (SKB_GSO_TCPV4 << NETIF_F_GSO_SHIFT)
#define NETIF_F_UFO (SKB_GSO_UDP << NETIF_F_GSO_SHIFT)
#define NETIF_F_GSO_ROBUST (SKB_GSO_DODGY << NETIF_F_GSO_SHIFT)
Expand Down

0 comments on commit 433f97e

Please sign in to comment.