summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
1999-10-25Patch from Eric Norum <eric@cls.usask.ca> to address the following problemJoel Sherrill2-2/+2
report from Philip A. Prindeville <philipp@zembu.com>: I was working on a device driver for a certain ethernet chipset that occassionally wraps in its buffer, and causes a resulting mbuf chain with only a few dozen bytes in the first mbuf of the chain. I wouldn't have thought this would be a problem, until I ran some stress tests that flooded the ethernet receiver with packets and started to get panics here: 250 251 if (m->m_pkthdr.len < sizeof(struct ip)) 252 goto tooshort; 253 254 #ifdef DIAGNOSTIC 255 if (m->m_len < sizeof(struct ip)) 256 panic("ipintr mbuf too short"); 257 #endif 258 259 if (m->m_len < sizeof (struct ip) && 260 (m = m_pullup(m, sizeof (struct ip))) == 0) { 261 ipstat.ips_toosmall++; 262 return; 263 } 264 ip = mtod(m, struct ip *); and the panic was at line 256. But if I #undef'd DIAGNOSTICS, then the m_pullup() at line 260 does the right thing and the packet ends up being processed just fine. So I started wondering, (a) why was the test checking for something that apparently wasn't a fatal condition but rather one that is subsequently recovered from a couple of lines later and (b) why panic as a diagnostic "aid" from a recoverable condition rather than just (say) log a message to the console? All of this seems overly severe for no reason that is readily apparent to me.
1999-10-25Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>Joel Sherrill1-0/+8
to initialize the pthread cancellation fields. This is a patch to _POSIX_Threads_Create_extension that fixes the problem.
1999-10-25Added notes for new test.Joel Sherrill1-0/+19
1999-10-25tch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill2-72/+72
<raguet@crf.canon.fr> to fix bugs and make the mcp750 boot RTEMS running the GoAhead web server.
1999-10-25Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill3-21/+24
<raguet@crf.canon.fr> to use a local variable.
1999-10-25Added code to correctly free any allocated space during the evaluationJennifer Averett4-144/+148
process.
1999-10-25Added sp26 which tests the rtems_task_is_suspended directive.Joel Sherrill8-1/+332
1999-10-25Modified to ease comparison of screen to target output.Joel Sherrill4-1092/+1092
1999-10-25Modified to reflect test change where reinitialize mutex test case wasJoel Sherrill1-1/+1
removed.
1999-10-25Removed reinitialize mutex test case to reflect earlier code change inJoel Sherrill1-1/+8
the executive.
1999-10-25Changed leading spaces to periods to ease comparing test output.Joel Sherrill3-3/+3
1999-10-25Modified to produce correct output with new version of sis.Joel Sherrill1-1/+6
1999-10-21Removed warning.Joel Sherrill1-0/+2
1999-10-21Increased stack size of initialization thread.Joel Sherrill1-0/+2
1999-10-21Added rtems_semaphore_flush directive.Joel Sherrill3-1/+105
1999-10-21Renamed CONFIGURE_POSIX_INIT_TASK_STACK_SIZE toJoel Sherrill1-6/+6
CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE because in POSIX they are threads.
1999-10-21Fixed core dump caused when output parameter (otimer) was NULL.Joel Sherrill1-3/+7
1999-10-21Added Semaphore_Flush.Joel Sherrill2-0/+18
1999-10-20Added prototype for rtems_task_is_suspended at request ofJoel Sherrill1-1/+12
Eric Norum.
1999-10-12Spacing.Joel Sherrill3-0/+3
1999-10-12Split null handlers table to own file and renamed.Joel Sherrill19-163/+44
Renamed IMFS handler tables to include IMFS prefix.
1999-10-12Added rtems_filesystem_freenode() macro and added calls at appropriateJoel Sherrill35-188/+140
places to make sure memory allocated for filesystem specifif nodes gets freed.
1999-10-12Fixed spacing.Joel Sherrill3-3/+3
1999-10-12Corrected mistakes in the IMFS file handlers table and added the missingJoel Sherrill10-31/+301
routine imfs_fcntl.c
1999-10-12Added call to freenod to let each filesystem free its own internalJoel Sherrill31-140/+470
node used to manage file access.
1999-10-12Changed bcopy to strncpy to stick to ANSI/ISO routines.Joel Sherrill2-2/+2
1999-10-11Moved RTEMS error and association from libmisc to libc support toJoel Sherrill7-13/+13
avoid cyclic dependencies generated when moving packages to the top level.
1999-10-11Removed targets and configurations that are no longer functionalJoel Sherrill14-1428/+0
and not likely to become so. Comments on each configuration are below. + Force CPU386 - This BSP was developed as part of the initial port of RTEMS to the i386. This board has been unavailable for a long time now. + GO32 - This BSP and some CPU code supported djgpp v1.x. This version is now quite old. No one has stepped forward to update the code to v2.x which may be technically impossible anyway. More importantly, go32 has been superceded by the pc386 BSP.
1999-10-11Added as part of moving librdbg to its own top level package. This wasJoel Sherrill6-0/+141
done as part of a patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
1999-10-11Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move librdbgJoel Sherrill12-131/+1081
to its own top level package.
1999-10-11Now compiles for coff and elf.Joel Sherrill1-65/+185
1999-10-07New directive added -- rtems_task_is_suspended.Joel Sherrill2-1/+77
1999-10-07Added Is_Suspended method.Joel Sherrill2-0/+20
1999-10-06Removed targets and configurations that are no longer functionalJoel Sherrill26-5265/+0
and not likely to become so. Comments on each configuration are below. + Force CPU386 - This BSP was developed as part of the initial port of RTEMS to the i386. This board has been unavailable for a long time now. + GO32 - This BSP and some CPU code supported djgpp v1.x. This version is now quite old. No one has stepped forward to update the code to v2.x which may be technically impossible anyway. More importantly, go32 has been superceded by the pc386 BSP.
1999-10-06New file.Joel Sherrill4-0/+56
1999-10-06Removed aclocal.m4 generated from aclocal macrosJoel Sherrill37-27023/+0
1999-10-06Removed configure generated from configure.inJoel Sherrill37-81630/+0
1999-10-06Modified to avoid conflicts on definitions of malloc. newlib 1.8.2Joel Sherrill7-7/+7
now prototypes the malloc family in stdlib.h. This causes conflicts with the way the network stack overrides the definitions of malloc. As best I (being Joel) can tell, commenting stdlib.h out keeps the files compiling and referencing the desired malloc/free but results in more warnings.
1999-10-06Modified to explicitly list all files as part of C_PIECES.Joel Sherrill1-1/+2
1999-10-06Corrected build order so it was not as dependent on the mpc750 check.Joel Sherrill2-6/+2
1999-10-06Added sections as required by C++ and ELF.Joel Sherrill4-3/+14
1999-10-06Added more sections and made minor modifications to let the linkcmdsJoel Sherrill8-29/+54
work with m68k-elf on late model versions of binutils (990901+) without overlapping or missing section errors.
1999-10-06Fixed spelling error (FAMILLY --> FAMILY).Joel Sherrill1-4/+4
1999-10-05Invalid value used for baud rate per bug report fromJoel Sherrill2-2/+2
Jay Kulpinski <jskulpin@eng01.gdds.com>.
1999-10-05Removed ifdef on go32.Joel Sherrill1-1/+1
1999-10-05Removed go32 ifdefsJoel Sherrill2-6/+0
1999-10-05Added comment with CVS Id.Joel Sherrill1-0/+4
1999-10-05Changed bra.s to bra.l to remove error with new version of binutils.Joel Sherrill2-4/+4
1999-10-05Changed bra.s to bra.l to correct compilation error triggered by newJoel Sherrill2-2/+2
version of binutils.
1999-10-05Corrected so sections did not overlap with new version of binutils.Joel Sherrill1-0/+6