diff options
| author | Felix Fietkau | 2021-11-04 19:35:07 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2021-11-04 19:35:07 +0000 |
| commit | 60e06a579a13ba477c3380da03878de052352711 (patch) | |
| tree | c72b28b2e4be3b260af1b00d1e4c4ddc5b342ef0 | |
| parent | 6f7fbe698555f62a8ebe251706866c384e272ab5 (diff) | |
| download | qosify-60e06a579a13ba477c3380da03878de052352711.tar.gz | |
qosify-bpf: inline check_flow() to ensure that it is jited
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | qosify-bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qosify-bpf.c b/qosify-bpf.c index 77b50e5..a40e75a 100644 --- a/qosify-bpf.c +++ b/qosify-bpf.c @@ -250,7 +250,7 @@ parse_l4proto(struct qosify_config *config, struct __sk_buff *skb, *dscp_out = *value; } -static void +static __always_inline void check_flow(struct qosify_config *config, struct __sk_buff *skb, uint8_t *dscp) { |