projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier...
[linux-2.6-block.git]
/
drivers
/
net
/
xen-netfront.c
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index 9f102a6535c4976b6a7451a75bcdb19386d5d718..f673253879024d18b90557be62b145feb7e99ec7 100644
(file)
--- a/
drivers/net/xen-netfront.c
+++ b/
drivers/net/xen-netfront.c
@@
-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);