benchmark
This commit is contained in:
parent
fa8616dfeb
commit
1f80ddb613
1 changed files with 8 additions and 3 deletions
|
@ -1063,9 +1063,14 @@ static void mmnif_rx(struct netif* netif)
|
|||
|
||||
drop_packet:
|
||||
/* packet is lost so gather stats and leave the rx handler*/
|
||||
mmnif->rx_buff->pos++;
|
||||
mmnif->rx_buff->queued--;
|
||||
LINK_STATS_INC(link.drop);
|
||||
mmnif_lock_rx_hdr(own_ip_address & 0xFF);
|
||||
|
||||
mmnif->rx_buff->pos++;
|
||||
mmnif->rx_buff->queued--;
|
||||
|
||||
mmnif_unlock_rx_hdr(own_ip_address & 0xFF);
|
||||
|
||||
LINK_STATS_INC(link.drop);
|
||||
mmnif->stats.rx_err++;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue