Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1b1ac759d7c6bba6e5f4731ef6ea720b6636e27c
Commit:     1b1ac759d7c6bba6e5f4731ef6ea720b6636e27c
Parent:     0621ed2e4edbe2f6f83dafbf85eecefae7aaf2e8
Author:     Jean Delvare <[EMAIL PROTECTED]>
AuthorDate: Sat Jul 14 20:51:44 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sat Jul 14 20:51:44 2007 -0700

    [IPV4]: Cleanup call to __neigh_lookup()
    
    Back in the times of Linux 2.2, negative values for the creat parameter
    of __neigh_lookup() had a particular meaning, but no longer, so we
    should pass 1 instead.
    
    Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv4/arp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index e00767e..9ab9d53 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -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) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to