public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch] ./net/net.c - make Microsoft dns servers happy with random_port() numbers
Date: Tue, 09 Mar 2010 09:37:43 +0100	[thread overview]
Message-ID: <m21vftki08.fsf@ohwell.denx.de> (raw)
In-Reply-To: <201003081407.01006.rgetz@blackfin.uclinux.org> (Robin Getz's message of "Mon, 8 Mar 2010 14:07:00 -0500")

Hi Robin,

> For some reason, (which I can't find any documentation on), if U-Boot
> gives a port number higher than 17500 to a Microsoft DNS server, the 
> server will reply to port 17500, and U-Boot will ignore things (since 
> that isn't the port it asked the DNS server to reply to).
>
> This fixes that by ensuring the random port number is less than 17500.

Can you please put such a comment also in the code?  I believe this to
be useful information when studying the code and not only when going
through changelogs.

Thanks
  Detlev

-- 
Microsoft gives you windows, Linux gives you the whole house.
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  reply	other threads:[~2010-03-09  8:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 19:07 [U-Boot] [Patch] ./net/net.c - make Microsoft dns servers happy with random_port() numbers Robin Getz
2010-03-09  8:37 ` Detlev Zundel [this message]
2010-04-05  7:17 ` Ben Warren

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=m21vftki08.fsf@ohwell.denx.de \
    --to=dzu@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