Re: svn commit: r192085 - head/sys/netinet

2009-05-14 Thread George Neville-Neil


On May 13, 2009, at 22:27 , Qing Li wrote:


Author: qingli
Date: Thu May 14 05:27:09 2009
New Revision: 192085
URL: http://svn.freebsd.org/changeset/base/192085

Log:
 Ignore the INADDR_ANY address inserted/deleted by DHCP when  
installing a loopback route

 to the interface address.



Hi,

Can you give more detail as to the purpose of this change?  I'm a bit  
confused by it.  Does
this fix any of the recent problems seen with DHCP and PXE or is this  
unrelated?


Best,
George

___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r192085 - head/sys/netinet

2009-05-14 Thread Dimitry Andric
On 2009-05-14 16:36, George Neville-Neil wrote:
 Can you give more detail as to the purpose of this change?  I'm a bit  
 confused by it.  Does
 this fix any of the recent problems seen with DHCP and PXE or is this  
 unrelated?

It fixes at least the DHCP issue, but I didn't see any independent
confirmation of it having fixed PXE, although it likely will.

This fix originated from:
http://docs.freebsd.org/cgi/mid.cgi?B583FBF374231F4A89607B4D08578A43041C25D9
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


Re: svn commit: r192085 - head/sys/netinet

2009-05-14 Thread Andrew Thompson
On Thu, May 14, 2009 at 05:27:09AM +, Qing Li wrote:
 Author: qingli
 Date: Thu May 14 05:27:09 2009
 New Revision: 192085
 URL: http://svn.freebsd.org/changeset/base/192085
 
 Log:
   Ignore the INADDR_ANY address inserted/deleted by DHCP when installing a 
 loopback route
   to the interface address.
 
 Modified:
   head/sys/netinet/in.c

I have also tried this with pxe and its now working again. thanks.

Andrew
___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org


RE: svn commit: r192085 - head/sys/netinet

2009-05-14 Thread Qing Li
 

 -Original Message-
 From: George Neville-Neil [mailto:g...@neville-neil.com] 
 Sent: Thursday, May 14, 2009 7:36 AM
 To: Qing Li
 Cc: src-committ...@freebsd.org; svn-src-all@FreeBSD.org; 
 svn-src-h...@freebsd.org
 Subject: Re: svn commit: r192085 - head/sys/netinet
 
 
 On May 13, 2009, at 22:27 , Qing Li wrote:
 
  Author: qingli
  Date: Thu May 14 05:27:09 2009
  New Revision: 192085
  URL: http://svn.freebsd.org/changeset/base/192085
 
  Log:
   Ignore the INADDR_ANY address inserted/deleted by DHCP when 
  installing a loopback route  to the interface address.
 
 


 
 Can you give more detail as to the purpose of this change?  
 I'm a bit confused by it.  Does this fix any of the recent 
 problems seen with DHCP and PXE or is this unrelated?
 

The DHCP client code adds a 0.0.0.0 address and then deletes
it once the server assign the node a real IP. It's easily
Observed by running dhclient followed by netstat.

I had to take care of this DHCP related bits before, e.g.,
not creating an ARP entry for it.

That's really it.  

Exactly which part is confusing you ? 

-- Qing


___
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org