Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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,