config = get_config();
if (!config)
- return TC_ACT_OK;
+ return TC_ACT_UNSPEC;
if (module_flags & QOSIFY_IP_ONLY)
type = skb->protocol;
else if (type == bpf_htons(ETH_P_IPV6))
ip_val = parse_ipv6(config, skb, &offset, ingress, &dscp);
else
- return TC_ACT_OK;
+ return TC_ACT_UNSPEC;
if (ip_val) {
if (!ip_val->seen)
}
if (dscp_lookup_class(&dscp, ingress, &class))
- return TC_ACT_OK;
+ return TC_ACT_UNSPEC;
if (class) {
check_flow(&class->config, skb, &dscp);
if (dscp_lookup_class(&dscp, ingress, &class))
- return TC_ACT_OK;
+ return TC_ACT_UNSPEC;
}
dscp &= GENMASK(5, 0);
else if (type == bpf_htons(ETH_P_IPV6))
ipv6_change_dsfield(skb, iph_offset, INET_ECN_MASK, dscp, force);
- return TC_ACT_OK;
+ return TC_ACT_UNSPEC;
}
char _license[] SEC("license") = "GPL";