blob: 465b36f68e0a61fe2a5a59ec6bf12dc3363f290c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/preserve-dscp/preserve_dscp_kern.c b/preserve-dscp/preserve_dscp_kern.c
index 24120cb..b070733 100644
--- a/preserve-dscp/preserve_dscp_kern.c
+++ b/preserve-dscp/preserve_dscp_kern.c
@@ -91,7 +91,7 @@ static void set_dscp(struct __sk_buff *skb, __u8 dscp)
ipv6_change_dsfield(ipv6hdr, INET_ECN_MASK, dscp << 2);
}
-SEC("classifier/read")
+SEC("classifier")
int read_dscp(struct __sk_buff *skb)
{
__u32 key = bpf_get_hash_recalc(skb);
@@ -106,7 +106,7 @@ int read_dscp(struct __sk_buff *skb)
return TC_ACT_OK;
}
-SEC("classifier/write")
+SEC("classifier")
int write_dscp(struct __sk_buff *skb)
{
__u32 key = skb->hash;
|