Subject: Re: [PATCH 2.6] IPCONFIG fix and cleanup

From: Peter Buckingham <[email-masked]>
Date: Wed, 08 Sep 2004 17:54:27 -0700

> Peter, how are you generating your patches?  They never apply
> cleanly.  Maybe Mozilla is messing it up, who knows.  Perhaps
> try using attachments instead.

sorry, try this attachment instead. when i get sendmail configured 
properly i'll use mutt instead ;-)

peter
--- linus-2.6/net/ipv4/ipconfig.c	2004-09-08 17:35:56.000000000 -0700
+++ local_linux/net/ipv4/ipconfig.c	2004-09-07 17:16:55.000000000 -0700
@@ -966,9 +966,7 @@ static int __init ic_bootp_recv(struct s
 				break;
 
 			case DHCPACK:
-				for (i = 0; (dev->dev_addr[i] == b->hw_addr[i])
-						&& (i < dev->addr_len); i++);
-				if (i < dev->addr_len)
+				if (memcmp(dev->dev_addr, b->hw_addr, dev->addr_len) != 0)
 					goto drop_unlock;
 
 				/* Yeah! */