error searching
This commit is contained in:
parent
59d22a1bba
commit
39ab1fc190
2 changed files with 4 additions and 4 deletions
|
@ -757,7 +757,7 @@ err_t mmnif_tx(struct netif* netif, struct pbuf* p)
|
|||
mmnif_write_rx_pending(dest_ip,pending);
|
||||
|
||||
/* and unlock the dest_ip mm_rx_buffer_hdr */
|
||||
// mmnif_unlock_rx_hdr(dest_ip);
|
||||
mmnif_unlock_rx_hdr(dest_ip);
|
||||
|
||||
/* check if there is a space in the queue without overwriting another packet */
|
||||
if ((queued + pending) > MMNIF_RX_QUEUELEN)
|
||||
|
@ -778,7 +778,7 @@ err_t mmnif_tx(struct netif* netif, struct pbuf* p)
|
|||
mmnif_write_rx_buffl(dest_ip, pos, p->payload,p->tot_len);
|
||||
|
||||
/* like above ensure we are the only ones editing the hdr */
|
||||
// mmnif_lock_rx_hdr(dest_ip);
|
||||
mmnif_lock_rx_hdr(dest_ip);
|
||||
|
||||
queued = mmnif_read_rx_queue(dest_ip);
|
||||
pending = mmnif_read_rx_pending(dest_ip);
|
||||
|
|
|
@ -214,7 +214,7 @@ void* server_task(void* e)
|
|||
|
||||
tmp1 = get_clock_tick();
|
||||
|
||||
for (n = 0; n < 1024*1024*4 ; n++)
|
||||
for (n = 0; n < 1024*4 ; n++)
|
||||
{
|
||||
if (!(n%100))
|
||||
kprintf("%d-",n);
|
||||
|
@ -281,7 +281,7 @@ void* client_task(void* e)
|
|||
/* spew-out the results and bail out of here! */
|
||||
kprintf("%s\n", dir);
|
||||
|
||||
for (n = 0; n <1024*1024*4; n++)
|
||||
for (n = 0; n <1024*4; n++)
|
||||
{
|
||||
recv(sd,dir,sizeof(dir),0);
|
||||
// udelay(100);
|
||||
|
|
Loading…
Add table
Reference in a new issue