openwrtv4/target/linux/atheros/patches-2.6.24/150-bridge-printk.patch
Gabor Juhos 518fb1a488 refresh kernel patches
SVN-Revision: 11197
2008-05-19 07:16:54 +00:00

28 lines
1 KiB
Diff

Index: linux-2.6.24.7/net/core/dev.c
===================================================================
--- linux-2.6.24.7.orig/net/core/dev.c
+++ linux-2.6.24.7/net/core/dev.c
@@ -3666,8 +3666,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;
}
@@ -3680,9 +3680,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)) {