IPv6 Raw socket returns errno 101 Network Unreachable
Issue
Customers using raw sockets and sending Ipv6 packets over UDP were getting:
[1] 99.187805] dst_alloc: 7728 callbacks suppressed
[2] Route cache is full: consider increasing sysctl net.ipv6.route.max_size.
and packet drop due to 101 errors:
# ./a.out -s
remaining pkt 200557 errno 101
remaining pkt 196462 errno 101
Environment
- Red Hat Enterprise Linux
- Ipv6
- kernel below kernel-5.14.0-284.11.1.el9_2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.