firewall: introduce drop_invalid option to allow disabling the invalid state match
[openwrt.git] / target / linux / atheros / patches-2.6.26 / 150-bridge-printk.patch
1 --- a/net/core/dev.c
2 +++ b/net/core/dev.c
3 @@ -3783,8 +3783,8 @@ int register_netdevice(struct net_device
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 @@ -3797,9 +3797,9 @@ int register_netdevice(struct net_device
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)) {
This page took 0.041085 seconds and 5 git commands to generate.