Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Alexander Aring <aring@mojatatu.com>
Reviewed-by: Yotam Gigi <yotam.gi@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Alexander Aring and committed by
David S. Miller
f6cd1453 7c5aba21

+1 -1
+1 -1
net/sched/act_ife.c
··· 652 652 } 653 653 } 654 654 655 - return 0; 655 + return -ENOENT; 656 656 } 657 657 658 658 static int tcf_ife_decode(struct sk_buff *skb, const struct tc_action *a,