Jamal Hadi Salim wrote:
This is part of mission skb diet. Against git/davem/2.6.14 that was on vger 30 minutes back: It changes input_dev to be an ifindex so we dont bother holding devices. Would only cut a 4 byte fat on 64 bit machines.

Signed-off-by: Jamal Hadi Salim <[EMAIL PROTECTED]>

Let me propose again to just set it here for all cases. So far there
hasn't been a single exception where indev is not the input device
as seen by netif_rx(), and I don't expect any to come up. In any case
you should guard this printk by net_ratelimit() to avoid spamming
peoples logs.


+               if (!skb->input_dev) {
+                       skb->input_dev = skb->dev->ifindex;
+                       printk("ing_filter: Repaired input to %s 
\n",skb->dev->name);
                }
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to