Use 2.6.25 for rdc321x
[openwrt.git] / target / linux / atheros / patches-2.6.25 / 150-bridge-printk.patch
1 Index: linux-2.6.25.4/net/core/dev.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/net/core/dev.c
4 +++ linux-2.6.25.4/net/core/dev.c
5 @@ -3755,8 +3755,8 @@ int register_netdevice(struct net_device
6 /* Fix illegal SG+CSUM combinations. */
7 if ((dev->features & NETIF_F_SG) &&
8 !(dev->features & NETIF_F_ALL_CSUM)) {
9 - printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
10 - dev->name);
11 + //printk(KERN_NOTICE "%s: Dropping NETIF_F_SG since no checksum feature.\n",
12 + // dev->name);
13 dev->features &= ~NETIF_F_SG;
14 }
15
16 @@ -3769,9 +3769,9 @@ int register_netdevice(struct net_device
17 }
18 if (dev->features & NETIF_F_UFO) {
19 if (!(dev->features & NETIF_F_HW_CSUM)) {
20 - printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
21 - "NETIF_F_HW_CSUM feature.\n",
22 - dev->name);
23 + //printk(KERN_ERR "%s: Dropping NETIF_F_UFO since no "
24 + // "NETIF_F_HW_CSUM feature.\n",
25 + // dev->name);
26 dev->features &= ~NETIF_F_UFO;
27 }
28 if (!(dev->features & NETIF_F_SG)) {
This page took 0.044623 seconds and 5 git commands to generate.