From: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
To: Daniel Wagner <wagi@monom.org>
Cc: connman@lists.linux.dev, john@metanate.com
Subject: Re: autoip address set/reset loop
Date: Wed, 23 Nov 2022 19:27:49 +0100 [thread overview]
Message-ID: <ef0bc60e-2833-9e72-c4ff-5d7fa3838ce0@gmail.com> (raw)
In-Reply-To: <39363d0c-2928-b5a1-d108-1213149fa7ea@monom.org>
Hi Daniel,
I did watch your commit earlier, but because you say "It's propably a safe bet to say NULL is never a valid GW, so let's filter it out for all callers", that for me seems to be guessing it could have been a bug and it just didn't seem to fix much or anything you saw at runtime. It would have been better to see what runtime issues you fixed with it, because there is nothing for me to hold.
Regarding assigning the invalid /non-routable 0.0.0.0 gateway IP: it basically means there is none, so I don't see the issue. See https://unix.stackexchange.com/questions/94018/what-is-the-meaning-of-0-0-0-0-as-a-gateway#:~:text=on%20this%20post.-,0.0.,there%20is%20no%20intermediate%20hop.
On 23/11/2022 18:36, Daniel Wagner wrote:
>
>
> On 23.11.22 18:12, Geoffrey Van Landeghem wrote:
>> Subject: Re: autoip address set/reset loop
>>
>>
>> Hi Daniel,
>>
>>
>> Well, as said it autoip (APIPA) was not working because of this because it seems to not have assigned any gateway at this stage. This get's assigned in the __connman_connection_gateway_add() function which is called after this DBG(...):
>
> My patch fixes a bug but introduced a regression. If you want to fix the regression you need to figure out how to address the original problem: cb05780d86c3 ("ipconfig: Don't add invalid gateway routes")
>
> Just reverting is not okay.
next prev parent reply other threads:[~2022-11-23 18:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 17:12 autoip address set/reset loop Geoffrey Van Landeghem
2022-11-23 17:36 ` Daniel Wagner
2022-11-23 18:27 ` Geoffrey Van Landeghem [this message]
2022-11-24 11:45 ` Daniel Wagner
2022-11-24 16:34 ` Geoffrey Van Landeghem
2022-11-24 17:30 ` Daniel Wagner
-- strict thread matches above, loose matches on Subject: below --
2022-11-23 16:03 Geoffrey Van Landeghem
2022-11-23 14:56 Geoffrey Van Landeghem
2022-11-23 15:10 ` John Keeping
2022-11-23 16:46 ` Daniel Wagner
2022-11-18 10:55 Geoffrey Van Landeghem
2022-11-22 18:35 ` Geoffrey Van Landeghem
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=ef0bc60e-2833-9e72-c4ff-5d7fa3838ce0@gmail.com \
--to=geoffrey.vl@gmail.com \
--cc=connman@lists.linux.dev \
--cc=john@metanate.com \
--cc=wagi@monom.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.