Merge "clatd bpf: drop multicast" into main
diff --git a/bpf/progs/clatd.c b/bpf/progs/clatd.c
index f4e4f3b..690a572 100644
--- a/bpf/progs/clatd.c
+++ b/bpf/progs/clatd.c
@@ -288,8 +288,8 @@
// We cannot handle IP options, just standard 20 byte == 5 dword minimal IPv4 header
if (ip4->ihl != 5) return TC_ACT_PIPE;
- // Packet must not be multicast
- if ((ip4->daddr & htonl(0xf0000000)) == htonl(0xe0000000)) return TC_ACT_PIPE;
+ // Packet must not be multicast, if it is just outright drop it.
+ if ((ip4->daddr & htonl(0xf0000000)) == htonl(0xe0000000)) return TC_ACT_SHOT;
// Calculate the IPv4 one's complement checksum of the IPv4 header.
__wsum sum4 = 0;