Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D37930: NEEDS CLEANUP! #22

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open

D37930: NEEDS CLEANUP! #22

wants to merge 23 commits into from

Conversation

jlduran
Copy link
Owner

@jlduran jlduran commented Mar 25, 2023

No description provided.

hrs-allbsd and others added 23 commits January 21, 2023 05:51
This change makes ping(8) show the timeout message when it does not
receive an echo reply in time like this:

    % ping 192.0.2.1
    PING 192.0.2.1 (192.0.2.1): 56 data bytes
    Request timeout for icmp_seq 0
    Request timeout for icmp_seq 1
    Request timeout for icmp_seq 2
    Request timeout for icmp_seq 3
    ^C
    --- 192.0.2.1 ping statistics ---
    5 packets transmitted, 0 packets received, 100.0% packet loss

This is useful for diagnostics because the sequence number shows which
packet was lost. The same behavior can be found ping(8) on macOS.
- Make `-A` beep along with the Request timeout message
- ping6 displays an equal sign (`=`) after `icmp_seq`
- White space fixes
This is another pinger test that is failing with options.
@jlduran jlduran self-assigned this Mar 25, 2023
jlduran pushed a commit that referenced this pull request Sep 11, 2023
netlink(4) calls back into the driver during detach and it attempts to
start an internal synchronized op recursively, causing an interruptible
hang.  Fix it by failing the ioctl if the VI has been marked as DOOMED
by cxgbe_detach.

Here's the stack for the hang for reference.
 #6  begin_synchronized_op
 #7  cxgbe_media_status
 #8  ifmedia_ioctl
 #9  cxgbe_ioctl
 #10 if_ioctl
 #11 get_operstate_ether
 #12 get_operstate
 #13 dump_iface
 #14 rtnl_handle_ifevent
 #15 rtnl_handle_ifnet_event
 #16 rt_ifmsg
 #17 if_unroute
 #18 if_down
 #19 if_detach_internal
 #20 if_detach
 #21 ether_ifdetach
 #22 cxgbe_vi_detach
 #23 cxgbe_detach
 #24 DEVICE_DETACH

MFC after:	3 days
Sponsored by:	Chelsio Communications
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants