From 1fd9eb60696ba1bb0c418ceb838ff687db62d044 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 16 Nov 2018 13:48:30 -0600 Subject: [PATCH] net/pkt: pkt_input() should not report an error using the nerr() macro when the PKT tap does not need the packet. That is not an error. Use ninfo() instead. --- net/pkt/pkt_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/pkt/pkt_input.c b/net/pkt/pkt_input.c index 776d6ad065f..38e485d2a4f 100644 --- a/net/pkt/pkt_input.c +++ b/net/pkt/pkt_input.c @@ -121,7 +121,7 @@ int pkt_input(struct net_driver_s *dev) } else { - nerr("ERROR: No listener\n"); + ninfo("No PKT listener\n"); } return ret;