Because ptp4l uses an ETH_P_ALL socket when it speaks the raw Ethernet
transport, the BPF filter used for separating event and general messages
runs on more packets than it should. Modify the application to restrict
itself to an ETH_P_1588 socket.

Vladimir Oltean (2):
  Revert "raw: accept VLAN tagged packets."
  raw: listen on ETH_P_1588 instead of ETH_P_ALL sockets

 ether.h | 10 ----------
 raw.c   | 47 +++++++++--------------------------------------
 2 files changed, 9 insertions(+), 48 deletions(-)

-- 
2.25.1



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to