Skip to content

Commit

Permalink
ofproto-dpif: Fix a typo
Browse files Browse the repository at this point in the history
This patch fixes a typo in handle_miss_upcalls() function.

Signed-off-by: Alex Wang <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
yew011 authored and blp committed May 30, 2013
1 parent d3ea717 commit c338551
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ofproto/ofproto-dpif.c
Original file line number Diff line number Diff line change
Expand Up @@ -3974,14 +3974,14 @@ handle_miss_upcalls(struct dpif_backer *backer, struct dpif_upcall *upcalls,
if (error == ENODEV) {
struct drop_key *drop_key;

/* Received packet on port for which we couldn't associate
* an ofproto. This can happen if a port is removed while
* traffic is being received. Print a rate-limited message
/* Received packet on datapath port for which we couldn't
* associate an ofproto. This can happen if a port is removed
* while traffic is being received. Print a rate-limited message
* in case it happens frequently. Install a drop flow so
* that future packets of the flow are inexpensively dropped
* in the kernel. */
VLOG_INFO_RL(&rl, "received packet on unassociated port %"PRIu32,
flow.in_port);
VLOG_INFO_RL(&rl, "received packet on unassociated datapath port "
"%"PRIu32, odp_in_port);

drop_key = drop_key_lookup(backer, upcall->key, upcall->key_len);
if (!drop_key) {
Expand Down

0 comments on commit c338551

Please sign in to comment.