summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2008-12-26 11:04:15 -0800
committerBen Pfaff <blp@nicira.com>2009-01-12 17:10:00 -0800
commitb54269832d4add0af5e7b2a1c787968da1ca8bfe (patch)
tree080dce33e8824d00163ea1e70906bf28d48e28f3
parentcbde61ac45a40c4ed41693a894d87d97b3479963 (diff)
downloadopenvswitch-b54269832d4add0af5e7b2a1c787968da1ca8bfe.tar.gz
Drop message about short Ethernet frames entirely.
It's just not useful.
-rw-r--r--lib/flow.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/flow.c b/lib/flow.c
index 5fddf1fec..cb6b32cff 100644
--- a/lib/flow.c
+++ b/lib/flow.c
@@ -102,16 +102,6 @@ flow_extract(struct ofpbuf *packet, uint16_t in_port, struct flow *flow)
struct eth_header *eth;
int retval = 0;
- if (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. */
- static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
- VLOG_DBG_RL(&rl, "packet length %zu less than minimum size %d",
- b.size, ETH_TOTAL_MIN);
- }
-
memset(flow, 0, sizeof *flow);
flow->dl_vlan = htons(OFP_VLAN_NONE);
flow->in_port = htons(in_port);