From dbcacca77e1c4c801ff56e08595bb52548d7c262 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 21 May 2008 10:49:02 -0700 Subject: [PATCH] Demote warning about runt frames to debug message. This message is not too useful since there are various legitimate ways that we can end up with runt frames, e.g. frames that only ever passed through virtual network devices and never touched a physical Ethernet. --- lib/flow.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/flow.c b/lib/flow.c index 6ec8ffdb..53da6e9c 100644 --- a/lib/flow.c +++ b/lib/flow.c @@ -50,8 +50,12 @@ flow_extract(struct buffer *packet, uint16_t in_port, struct flow *flow) struct eth_header *eth; if (b.size < ETH_TOTAL_MIN) { - VLOG_WARN("packet length %zu less than minimum size %d", - b.size, ETH_TOTAL_MIN); + /* This message is not too useful since there are various ways that we + * can end up with runt frames, e.g. frames that only ever passed + * through virtual network devices and never touched a physical + * Ethernet. */ + VLOG_DBG("packet length %zu less than minimum size %d", + b.size, ETH_TOTAL_MIN); } memset(flow, 0, sizeof *flow); -- 2.30.2