forked from richardcochran/linuxptp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter any PTP frames with the source MAC of the local interface
Linux loops outgoing L2 multicast frames to the local device, particularly they're seen by other ptp4l instances using the same device. There isn't any setting similar to IP multicast loop for packet sockets. Adds source MAC filter to the event/general BPF filter that is attached to the socket(s). This fixes floods of messages like the following in multi-domain setups on physical devices (not veth and similar): port 1 (enp0s30f4): received SYNC without timestamp port 1 (enp0s30f4): received PDELAY_RESP without timestamp Signed-off-by: Christopher S Hall <christopher.s.hall@intel.com> Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
- Loading branch information
1 parent
5ce45bd
commit ab3eb1c
Showing
1 changed file
with
74 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters