a2b949db9f17c04e64303d8dd1ceccfe2c8faa8d
[openwrt/svn-archive/archive.git] / target / linux / atheros / patches / 150-bridge-printk.patch
1 --- a/net/core/dev.c
2 +++ b/net/core/dev.c
3 @@ -3786,8 +3786,8 @@
4 /* Fix illegal SG+CSUM combinations. */
5 if ((dev->features & NETIF_F_SG) &&
6 !(dev->features & NETIF_F_ALL_CSUM)) {
7 - printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
8 - dev->name);
9 + //printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
10 + // dev->name);
11 dev->features &= ~NETIF_F_SG;
12 }
13
14 @@ -3800,9 +3800,9 @@
15 }
16 if (dev->features & NETIF_F_UFO) {
17 if (!(dev->features & NETIF_F_HW_CSUM)) {
18 - printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
19 - "NETIF_F_HW_CSUM feature.\n",
20 - dev->name);
21 + //printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
22 + // "NETIF_F_HW_CSUM feature.\n",
23 + // dev->name);
24 dev->features &= ~NETIF_F_UFO;
25 }
26 if (!(dev->features & NETIF_F_SG)) {