public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PATCH for U-Boot 1.3.3 DHCP fails withnetgearWGR614v6
Date: Sat, 12 Jul 2008 00:54:57 +0200	[thread overview]
Message-ID: <20080711225458.29CEC24304@gemini.denx.de> (raw)
In-Reply-To: Your message of "Fri, 11 Jul 2008 15:41:16 PDT." <4877E18C.2040102@gmail.com>

In message <4877E18C.2040102@gmail.com> you wrote:
> Robin Getz wrote:
> > On Fri 11 Jul 2008 18:05, Ben Warren pondered:
> >   
> >> Hi Robin,
> >>
> >> Robin Getz wrote:
> >>     
> >>> On Fri 11 Jul 2008 14:21, Ben Warren pondered:
> >>>   
> >>>> Robin Getz wrote:

Hm... this looks as if there was some longer discussion, but I cannot
find any traces of this on the mailing list.

Would be interesting to know what you discussed. At least if it should
result in any changes to the existing code.

> > Before - the U-Boot had set source IP number to the IP number it had been 
> > offered (my first patch leaves it that way). With the call to 
> > BootpCopyNetParams() removed, it does a broadcast (Source IP is 0.0.0.0 - 
> > just like the RFC says it should do).

??? Setting the source IP addr to 0 does not mean we're broadcasting?

Could you please fill us in on what you discussed?

> > I have no idea if some other broken DHCP server historically needed that, or 
> > what was going on - so that is why I only fixed the operation on the wire - 
> > not changed it from it's existing state (which AFAICT - _is_ wrong).

It seems Robin is claiming this - what exactly is wrong?

> > I'm more than happy to send the patch that remove the call (and makes things 
> > more correct, fixes the bug, and makes things smaller) - but I'm also 
> > hesitant since I don't want to break it for anyone else :)

Before anybody removes anything I want to know exactly what's going on
here, please.

> > The code does do that. The call to BootpCopyNetParams() sets up the network, 
> > and allows the ARP code in ./net/net.c to respond (before it should) this is 
> > what causes the problem I was/am having.

Please explain...

> I'm a bit of an idealist, so I say let's do it right (remove the call to 
> BootpCopyNetParams()).  Unless somebody with some historical perspective 
> weighs in, we'll pull it in as soon as the next merge window opens and 
> see what happens.

Please explain...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A conservative is a man with two perfectly good legs  who  has  never
learned to walk.                              - Franklin D. Roosevelt

  reply	other threads:[~2008-07-11 22:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200807111217.03285.rgetz@blackfin.uclinux.org>
2008-07-11 18:21 ` [U-Boot-Users] PATCH for U-Boot 1.3.3 DHCP fails with netgear WGR614v6 Ben Warren
2008-07-11 18:52   ` Jerry Van Baren
2008-07-11 19:01     ` Jerry Van Baren
2008-07-11 19:05     ` Ben Warren
2008-07-11 19:15       ` Jerry Van Baren
2008-07-11 19:31         ` Ben Warren
2008-07-11 19:51           ` Jerry Van Baren
     [not found]     ` <200807111720.57618.rgetz@blackfin.uclinux.org>
2008-07-14 12:29       ` Jerry Van Baren
     [not found]   ` <200807111712.51366.rgetz@blackfin.uclinux.org>
2008-07-11 22:05     ` [U-Boot-Users] PATCH for U-Boot 1.3.3 DHCP fails with netgearWGR614v6 Ben Warren
     [not found]       ` <200807111835.35597.rgetz@blackfin.uclinux.org>
2008-07-11 22:41         ` [U-Boot-Users] PATCH for U-Boot 1.3.3 DHCP fails withnetgearWGR614v6 Ben Warren
2008-07-11 22:54           ` Wolfgang Denk [this message]
2008-07-11 23:12             ` Ben Warren
2008-07-12 14:17               ` Wolfgang Denk
     [not found]           ` <200807111905.35936.rgetz@blackfin.uclinux.org>
2008-07-14 22:42             ` Ben Warren
2008-07-15 19:47               ` Wolfgang Denk
     [not found] <200807120112.18889.rgetz@blackfin.uclinux.org>
2008-07-12 14:37 ` Wolfgang Denk
     [not found] <200807121116.09164.rgetz@blackfin.uclinux.org>
2008-07-12 20:11 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080711225458.29CEC24304@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox