git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
net
/
bridge
/
br_device.c
diff --git
a/net/bridge/br_device.c
b/net/bridge/br_device.c
index
0c88a2a
..
f8dbcee
100644
(file)
--- a/
net/bridge/br_device.c
+++ b/
net/bridge/br_device.c
@@
-145,9
+145,9
@@
static int br_set_tx_csum(struct net_device *dev, u32 data)
struct net_bridge *br = netdev_priv(dev);
if (data)
struct net_bridge *br = netdev_priv(dev);
if (data)
- br->feature_mask |= NETIF_F_
IP
_CSUM;
+ br->feature_mask |= NETIF_F_
NO
_CSUM;
else
else
- br->feature_mask &= ~NETIF_F_
IP
_CSUM;
+ br->feature_mask &= ~NETIF_F_
ALL
_CSUM;
br_features_recompute(br);
return 0;
br_features_recompute(br);
return 0;
@@
-184,6
+184,6
@@
void br_dev_setup(struct net_device *dev)
dev->set_mac_address = br_set_mac_address;
dev->priv_flags = IFF_EBRIDGE;
dev->set_mac_address = br_set_mac_address;
dev->priv_flags = IFF_EBRIDGE;
- dev->features = NETIF_F_SG | NETIF_F_FRAGLIST
-
| NETIF_F_HIGHDMA | NETIF_F_TSO | NETIF_F_IP_CSUM
;
+ dev->features = NETIF_F_SG | NETIF_F_FRAGLIST
| NETIF_F_HIGHDMA |
+
NETIF_F_TSO | NETIF_F_NO_CSUM | NETIF_F_GSO_ROBUST
;
}
}