The list of registered ethertypes (ptypes) in /proc/net/ptype is not the same after updating to RHEL 7.5 (kernel-3.10.0-862.el7) or higher
Issue
-
The
/proc/net/ptypefile shows a current list of ethertypes recognized by the kernel. Ifdhclientor some other program is using an AF_PACKET socket, you can be aware of it by theALL/packet_rcventry in the output:[root@r74 ~]# cat /proc/net/ptype Type Device Function ALL eth0 packet_rcv 0800 ip_rcv 0011 llc_rcv [llc] 0004 llc_rcv [llc] 0806 arp_rcv 86dd ipv6_rcv -
But after updating to RHEL 7.5, the entry is no longer present even though it can be confirmed that the program is still using the AF_PACKET socket:
[root@r75 ~]# cat /proc/net/ptype Type Device Function 0800 ip_rcv 0011 llc_rcv [llc] 0004 llc_rcv [llc] 0806 arp_rcv 86dd ipv6_rcv
Environment
- Red Hat Enterprise Linux 7
- kernel-3.10.0-862.el7 or above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.