summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.27/150-bridge-printk.patch
blob: 0c4dd0aa8d4647ebab6a14d5e68c1efb3b342683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3983,8 +3983,8 @@
 	/* 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;
 	}
 
@@ -3997,9 +3997,9 @@
 	}
 	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)) {