From: Ben Pfaff Date: Wed, 21 May 2008 17:49:02 +0000 (-0700) Subject: Demote warning about runt frames to debug message. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbcacca77e1c4c801ff56e08595bb52548d7c262;p=openvswitch 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. --- 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);