Commit f6cd1453 authored by Alexander Aring's avatar Alexander Aring Committed by David S. Miller

net: sched: ife: signal not finding metaid

We need to record stats for received metadata that we dont know how
to process. Have find_decode_metaid() return -ENOENT to capture this.
Signed-off-by: default avatarAlexander Aring <aring@mojatatu.com>
Reviewed-by: default avatarYotam Gigi <yotam.gi@gmail.com>
Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7c5aba21
...@@ -652,7 +652,7 @@ static int find_decode_metaid(struct sk_buff *skb, struct tcf_ife_info *ife, ...@@ -652,7 +652,7 @@ static int find_decode_metaid(struct sk_buff *skb, struct tcf_ife_info *ife,
} }
} }
return 0; return -ENOENT;
} }
static int tcf_ife_decode(struct sk_buff *skb, const struct tc_action *a, static int tcf_ife_decode(struct sk_buff *skb, const struct tc_action *a,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment