Demote warning about runt frames to debug message.
authorBen Pfaff <blp@nicira.com>
Wed, 21 May 2008 17:49:02 +0000 (10:49 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 28 May 2008 16:58:22 +0000 (09:58 -0700)
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

index 6ec8ffd..53da6e9 100644 (file)
@@ -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);