diff --git a/net/core/filter.c b/net/core/filter.c index 0eb8c4466eaa0..0e3622f1dcb1e 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -350,7 +350,9 @@ unsigned int sk_run_filter(const struct sk_buff *skb, continue; } default: - WARN_ON(1); + WARN_RATELIMIT(1, "Unknown code:%u jt:%u tf:%u k:%u\n", + fentry->code, fentry->jt, + fentry->jf, fentry->k); return 0; } }