]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/arp.c
[IPV4]: Cleanup call to __neigh_lookup()
[net-next-2.6.git] / net / ipv4 / arp.c
index e00767e8ebd94ed4facfc11b3a3b746e84a50345..9ab9d534fbac28597f0a5b2b5c0c07d3e4485f29 100644 (file)
@@ -885,7 +885,7 @@ static int arp_process(struct sk_buff *skb)
                if (n == NULL &&
                    arp->ar_op == htons(ARPOP_REPLY) &&
                    inet_addr_type(sip) == RTN_UNICAST)
-                       n = __neigh_lookup(&arp_tbl, &sip, dev, -1);
+                       n = __neigh_lookup(&arp_tbl, &sip, dev, 1);
        }
 
        if (n) {