Skip to content

Commit f6cd145

Browse files
Alexander Aringdavem330
authored andcommitted
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 <[email protected]> Reviewed-by: Yotam Gigi <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 7c5aba2 commit f6cd145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sched/act_ife.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ static int find_decode_metaid(struct sk_buff *skb, struct tcf_ife_info *ife,
652652
}
653653
}
654654

655-
return 0;
655+
return -ENOENT;
656656
}
657657

658658
static int tcf_ife_decode(struct sk_buff *skb, const struct tc_action *a,

0 commit comments

Comments
 (0)