]> Git Repo - linux.git/commitdiff
net: sched: ife: signal not finding metaid
authorAlexander Aring <[email protected]>
Fri, 20 Apr 2018 19:15:03 +0000 (15:15 -0400)
committerDavid S. Miller <[email protected]>
Mon, 23 Apr 2018 01:12:00 +0000 (21:12 -0400)
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: Alexander Aring <[email protected]>
Reviewed-by: Yotam Gigi <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/act_ife.c

index a5994cf0512bd731f55a1dfa798d85ff658e18ef..49b8ab551fbead968aa3024ea37b681fed48cfc5 100644 (file)
@@ -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,
This page took 0.054405 seconds and 4 git commands to generate.