2008-05-19 09:16:54 +02:00
|
|
|
Index: linux-2.6.23.17/net/core/dev.c
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23.17.orig/net/core/dev.c
|
|
|
|
+++ linux-2.6.23.17/net/core/dev.c
|
|
|
|
@@ -3426,8 +3426,8 @@ int register_netdevice(struct net_device
|
2007-10-13 00:20:04 +02:00
|
|
|
/* Fix illegal SG+CSUM combinations. */
|
|
|
|
if ((dev->features & NETIF_F_SG) &&
|
|
|
|
!(dev->features & NETIF_F_ALL_CSUM)) {
|
|
|
|
- printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
|
|
|
|
- dev->name);
|
|
|
|
+ //printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
|
|
|
|
+ // dev->name);
|
|
|
|
dev->features &= ~NETIF_F_SG;
|
|
|
|
}
|
|
|
|
|
2008-05-19 09:16:54 +02:00
|
|
|
@@ -3440,9 +3440,9 @@ int register_netdevice(struct net_device
|
2007-10-13 00:20:04 +02:00
|
|
|
}
|
|
|
|
if (dev->features & NETIF_F_UFO) {
|
|
|
|
if (!(dev->features & NETIF_F_HW_CSUM)) {
|
|
|
|
- printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
|
|
|
|
- "NETIF_F_HW_CSUM feature.\n",
|
|
|
|
- dev->name);
|
|
|
|
+ //printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
|
|
|
|
+ // "NETIF_F_HW_CSUM feature.\n",
|
|
|
|
+ // dev->name);
|
|
|
|
dev->features &= ~NETIF_F_UFO;
|
|
|
|
}
|
|
|
|
if (!(dev->features & NETIF_F_SG)) {
|