Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
Hi,
On 2016/09/12 17:28, Roy Marples wrote:
> On 09/09/2016 20:08, Martin Husemann wrote:
>> On Thu, Sep 08, 2016 at 02:19:15PM +0900, Kengo NAKAHARA wrote:
>>>
>>> On 2016/09/08 0:41, Roy Marples wrote:
>>>> Module Name: src
>>>> Committed By: roy
>>>> Date: Wed Sep 7 15:41:44 UTC 2016
>>>>
>>>> Modified Files:
>>>> src/sys/netinet: ip_input.c
>>>> src/sys/netinet6: ip6_input.c
>>>>
>>>> Log Message:
>>>> Disallow input to detached addresses because they are not yet valid.
>>>>
>>>>
>>>> To generate a diff of this commit:
>>>> cvs rdiff -u -r1.340 -r1.341 src/sys/netinet/ip_input.c
>>>> cvs rdiff -u -r1.167 -r1.168 src/sys/netinet6/ip6_input.c
>>>>
>>>> Please note that diffs are not public domain; they are subject to the
>>>> copyright notices on the relevant files.
>>>
>>> ATF net/if_pppoe/t_pppoe:pap fails after this commit. I revert this
>>> commit locally, and then the ATF become successful.
>>
>> I see the failure too, but manually configuring two rump servers in a very
>> similar setup than the test still works for me - something must be wrong
>> in the test, but I don't see it right now.
>
> martin@ did more testing and discovered that the PPP connection works
> fine, so something is wrong in the test.
>
> I believe that the function wait_for_session_established needs an
> additional pause to wait for the detached flag to clear.
> If the interface is marked IFF_UP at this point, it should be possible
> to add ifconfig -w 5 -W -5 and the test should then succeed. I'm getting
> symbol errors still trying to run this test so cannot fix it myself
> right now.
I add ifconfig -w 15 -W 15 in wait_for_session_established(), however
net/if_pppoe/t_pppoe:pap still fails.
Hmm, does my below modification match your pointing out, doesn't it?
====================
--- net/if_pppoe/t_pppoe.orig 2016-09-12 18:16:26.610435947 +0900
+++ net/if_pppoe/t_pppoe 2016-09-12 18:30:14.756955057 +0900
@@ -99,6 +99,8 @@
sleep 1
done
+ env RUMP_SERVER=$CLIENT rump.ifconfig -w 15 -W 15
+
if [ $dontfail != "dontfail" ]; then
atf_fail "Couldn't connect to the server for $n seconds."
fi
====================
Thanks,
--
//////////////////////////////////////////////////////////////////////
Internet Initiative Japan Inc.
Device Engineering Section,
IoT Platform Development Department,
Network Division,
Technology Unit
Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>
Home |
Main Index |
Thread Index |
Old Index