mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 18:30:36 +02:00
d8297bb0a4
* based on a patch by Hauke Mehrtens * closes #4193 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13192 3c298f89-4303-0410-b956-a3cf2f4a3e73
27 lines
934 B
Diff
27 lines
934 B
Diff
--- a/net/core/dev.c
|
|
+++ b/net/core/dev.c
|
|
@@ -3783,8 +3783,8 @@ int register_netdevice(struct net_device
|
|
/* 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;
|
|
}
|
|
|
|
@@ -3797,9 +3797,9 @@ int register_netdevice(struct net_device
|
|
}
|
|
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)) {
|