Last active
August 9, 2017 23:28
-
-
Save ajeddeloh/ed67bf8e2bdf27ee1edfe6b301b2017d to your computer and use it in GitHub Desktop.
mtu crash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
possible timeline: | |
- gets dhcp lease, calls dhcp_lease_acquired | |
- sets mtu to 9000 (asynchronously, does not fail when the iface is up, may either claim to succeed or fail with the link down) | |
- calls dhcp4_update_address which then calls address_configure with dhcp4_address_handler | |
- address_configure builds a rtnl message to configure the link with the dhcp4_address_handler as the callback | |
- sends that message async | |
- link goes down, event generated | |
- link lease cleaned up | |
- link comes back up | |
- rtnl sends reply, triggers dhcp4_address_handler which calls link_set_dhcp_routes | |
- link->lease is bad, causes crash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment