View Issue Details

IDProjectCategoryView StatusLast Update
0002344Rocky-Linux-9Generalpublic2023-03-01 13:17
ReporterAntonio Di Bacco Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformIntelOSRocky LinuxOS Version9.1
Summary0002344: ping6 stops working after a few tries with EADDRNOTAVAIL error
Description
ping6 -I ens6f0 ff02::1

stops working after a few pings.
Steps To ReproduceTry to issue this command:

ping6 -I ens6f0 ff02::1

After an average of 100 pings I start getting erro EADDRNOTAVAIL (in sendmsg) and the command doesn't work anymore:

sendmsg(3, {msg_name={sa_family=AF_INET6, sin6_port=htons(58), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "ff02::1", &sin6_addr), sin6_scope_id=0}, msg_namelen=28, msg_iov=[{iov_base="\200\0\0\0\0\0\0\n\334\265\370c\0\0\0\0\302\261\6\0\0\0\0\0\20\21\22\23\24\25\26\27"..., iov_len=64}], msg_iovlen=1, msg_control=[{cmsg_len=36, cmsg_level=SOL_IPV6, cmsg_type=0x32}], msg_controllen=40, msg_flags=0}, 0) = -1 EADDRNOTAVAIL (Cannot assign requested address)
recvmsg(3, {msg_namelen=28}, MSG_DONTWAIT|MSG_ERRQUEUE) = -1 EAGAIN (Resource temporarily unavailable)
Additional InformationThe same happens using a python script to do the same. Ubuntu 20.04 and 22.04 is not affected.
Tagsmulticast, ping6, sendmsg, sendto

Activities

Antonio Di Bacco

Antonio Di Bacco

2023-03-01 13:17

reporter   ~0002641

The bug doesn't happen if the interface used for pinging is set to link-local mode.

Issue History

Date Modified Username Field Change
2023-02-24 13:46 Antonio Di Bacco New Issue
2023-02-24 13:46 Antonio Di Bacco Tag Attached: multicast
2023-02-24 13:46 Antonio Di Bacco Tag Attached: ping6
2023-02-24 13:46 Antonio Di Bacco Tag Attached: sendmsg
2023-02-24 13:46 Antonio Di Bacco Tag Attached: sendto
2023-03-01 13:17 Antonio Di Bacco Note Added: 0002641