Modify

Opened 3 years ago

Last modified 3 years ago

#19208 new defect

netifd teardown timeout when ifconfig eth0 down,up.

Reported by: yaxinsn Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

ifconfig eth0 down;ifconfig up,in the shell.
the udhcpc is dispear.
the log:
Network device 'eth0' link is down
Bridge 'br-wan' link is down
Interface 'wan' has link connectivity loss
proto_shell_handler:197)-- =S_TEARDOWN=
netifd_start_process:190)-- netifd_start_process pid 5381 name <./dhcp.sh>
Network device 'eth0' link is up
Bridge 'br-wan' link is up
Interface 'wan' has link connectivity
Interface 'wan' is setting up now
netifd_kill_process:215)-- netifd_kill_process proc->uloop.pid 5381 9(SIGKILL)
netifd_start_process:190)-- netifd_start_process pid 5384 name <./dhcp.sh>
proto_shell_run_command:564)-- run cmd::: <udhcpc>
netifd_kill_process:215)-- netifd_kill_process proc->uloop.pid 5281 9(SIGKILL)
netifd_start_process:190)-- netifd_start_process pid 5393 name <udhcpc>
:::::wan (5393): udhcpc (v1.22.1) started
:::::wan (5393): Sending discover...
:::::wan (5393): Sending select for 192.168.200.192...
:::::wan (5393): Lease of 192.168.200.192 obtained, lease time 3600
Interface 'wan' is now up
proto_shell_teardown_timeout_cb:308)-- proc->uloop.pid 5384 9(SIGKILL) time = 2473
netifd_kill_process:215)-- netifd_kill_process proc->uloop.pid 5393 9(SIGKILL)

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by yaxinsn

I have a suggestion that cancel teardown_timeout at 'renew' and 'setup' mode refer to function proto_shell_handler.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.