]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon/priv: fix PACKET_IGNORE_OUTGOING
authorJon Kohler <jon@nutanix.com>
Thu, 10 Apr 2025 06:59:39 +0000 (23:59 -0700)
committerVincent Bernat <vincent@bernat.ch>
Thu, 10 Apr 2025 08:20:24 +0000 (10:20 +0200)
commit622a91144de4ae487ceebdb333863e9f660e0717
treecc583882913550b7eb0772d969351d6dbf3474a9
parent6033afaff2128e5c1913a05574565d2e5ffa9106
daemon/priv: fix PACKET_IGNORE_OUTGOING

Switch from netpacket/packet.h to linux/if_packet.h to pick up both
sockaddr_ll and PACKET_IGNORE_OUTGOING.

Fixes case where PACKET_IGNORE_OUTGOING was compiled out due to ifdef
conditional, which caused Linux zerocopy to break.

Fixes #732

Signed-off-by: Jon Kohler <jon@nutanix.com>
include/linux/if_packet.h
src/daemon/priv-linux.c