Changeset 83e36d6b in rtems
- Timestamp:
- 02/11/03 22:58:08 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- aba138b
- Parents:
- d854517
- Location:
- cpukit/libnetworking
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libnetworking/ChangeLog
rd854517 r83e36d6b 1 2003-02-11 Mike Siers <mikes@poliac.com> 2 3 * rtems/rtems_glue.c: A small patch to the network daemon task 4 code. I just added code to check the return value of 5 the rtems_bsdnet_event_receive function. Only when 6 this function returns a SUCCESSFUL status, will the 7 event flags be checked. This is more of a code cleanup issue 8 than a bug. The patch will just ensure the ipintr() and 9 arpintr() functions are only called when a event is signaled. 10 1 11 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 12 -
cpukit/libnetworking/rtems/rtems_glue.c
rd854517 r83e36d6b 504 504 networkDaemon (void *task_argument) 505 505 { 506 rtems_status_code sc; 506 507 rtems_event_set events; 507 508 rtems_interval now; … … 516 517 else 517 518 timeout = RTEMS_NO_TIMEOUT; 518 rtems_bsdnet_event_receive (NETISR_EVENTS, 519 520 sc = rtems_bsdnet_event_receive (NETISR_EVENTS, 519 521 RTEMS_EVENT_ANY | RTEMS_WAIT, 520 522 timeout, 521 523 &events); 522 if (events & NETISR_IP_EVENT) 523 ipintr (); 524 if (events & NETISR_ARP_EVENT) 525 arpintr (); 524 if ( sc == RTEMS_SUCCESSFUL ) { 525 if (events & NETISR_IP_EVENT) 526 ipintr (); 527 if (events & NETISR_ARP_EVENT) 528 arpintr (); 529 } 530 526 531 rtems_clock_get (RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &now); 527 532 ticksPassed = now - ticksWhenCalloutsLastChecked;
Note: See TracChangeset
for help on using the changeset viewer.