]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv4/route.c
net/ipv4/route.c: prevent oops
[karo-tx-linux.git] / net / ipv4 / route.c
index 85f184e429c63c8c426f58c779dc3544cf2e2a54..da11b54563fdd2ef697d9668bad2e5b6ea99f376 100644 (file)
@@ -1740,6 +1740,8 @@ static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
        struct net    *net = dev_net(dev);
        bool do_cache;
 
+       res.table = 0;
+
        /* IP on this device is disabled. */
 
        if (!in_dev)