summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Eric Norum <eric@cls.usask.ca> to address the following problemJoel Sherrill1999-10-252-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.
* Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>Joel Sherrill1999-10-251-0/+8
| | | | | to initialize the pthread cancellation fields. This is a patch to _POSIX_Threads_Create_extension that fixes the problem.
* Added notes for new test.Joel Sherrill1999-10-251-0/+19
|
* tch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill1999-10-252-72/+72
| | | | | <raguet@crf.canon.fr> to fix bugs and make the mcp750 boot RTEMS running the GoAhead web server.
* Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill1999-10-253-21/+24
| | | | <raguet@crf.canon.fr> to use a local variable.
* Added code to correctly free any allocated space during the evaluationJennifer Averett1999-10-254-144/+148
| | | | process.
* Added sp26 which tests the rtems_task_is_suspended directive.Joel Sherrill1999-10-258-1/+332
|
* Modified to ease comparison of screen to target output.Joel Sherrill1999-10-254-1092/+1092
|
* Modified to reflect test change where reinitialize mutex test case wasJoel Sherrill1999-10-251-1/+1
| | | | removed.
* Removed reinitialize mutex test case to reflect earlier code change inJoel Sherrill1999-10-251-1/+8
| | | | the executive.
* Changed leading spaces to periods to ease comparing test output.Joel Sherrill1999-10-253-3/+3
|
* Modified to produce correct output with new version of sis.Joel Sherrill1999-10-251-1/+6
|
* Removed warning.Joel Sherrill1999-10-211-0/+2
|
* Increased stack size of initialization thread.Joel Sherrill1999-10-211-0/+2
|
* Added rtems_semaphore_flush directive.Joel Sherrill1999-10-213-1/+105
|
* Renamed CONFIGURE_POSIX_INIT_TASK_STACK_SIZE toJoel Sherrill1999-10-211-6/+6
| | | | CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE because in POSIX they are threads.
* Fixed core dump caused when output parameter (otimer) was NULL.Joel Sherrill1999-10-211-3/+7
|
* Added Semaphore_Flush.Joel Sherrill1999-10-212-0/+18
|
* Added prototype for rtems_task_is_suspended at request ofJoel Sherrill1999-10-201-1/+12
| | | | Eric Norum.
* Spacing.Joel Sherrill1999-10-123-0/+3
|
* Split null handlers table to own file and renamed.Joel Sherrill1999-10-1219-163/+44
| | | | Renamed IMFS handler tables to include IMFS prefix.
* Added rtems_filesystem_freenode() macro and added calls at appropriateJoel Sherrill1999-10-1235-188/+140
| | | | | places to make sure memory allocated for filesystem specifif nodes gets freed.
* Fixed spacing.Joel Sherrill1999-10-123-3/+3
|
* Corrected mistakes in the IMFS file handlers table and added the missingJoel Sherrill1999-10-1210-31/+301
| | | | routine imfs_fcntl.c
* Added call to freenod to let each filesystem free its own internalJoel Sherrill1999-10-1231-140/+470
| | | | node used to manage file access.
* Changed bcopy to strncpy to stick to ANSI/ISO routines.Joel Sherrill1999-10-122-2/+2
|
* Moved RTEMS error and association from libmisc to libc support toJoel Sherrill1999-10-117-13/+13
| | | | | avoid cyclic dependencies generated when moving packages to the top level.
* Removed targets and configurations that are no longer functionalJoel Sherrill1999-10-1114-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.
* Added as part of moving librdbg to its own top level package. This wasJoel Sherrill1999-10-116-0/+141
| | | | done as part of a patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move librdbgJoel Sherrill1999-10-1112-131/+1081
| | | | to its own top level package.
* Now compiles for coff and elf.Joel Sherrill1999-10-111-65/+185
|
* New directive added -- rtems_task_is_suspended.Joel Sherrill1999-10-072-1/+77
|
* Added Is_Suspended method.Joel Sherrill1999-10-072-0/+20
|
* Removed targets and configurations that are no longer functionalJoel Sherrill1999-10-0626-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.
* New file.Joel Sherrill1999-10-064-0/+56
|
* Removed aclocal.m4 generated from aclocal macrosJoel Sherrill1999-10-0637-27023/+0
|
* Removed configure generated from configure.inJoel Sherrill1999-10-0637-81630/+0
|
* Modified to avoid conflicts on definitions of malloc. newlib 1.8.2Joel Sherrill1999-10-067-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.
* Modified to explicitly list all files as part of C_PIECES.Joel Sherrill1999-10-061-1/+2
|
* Corrected build order so it was not as dependent on the mpc750 check.Joel Sherrill1999-10-062-6/+2
|
* Added sections as required by C++ and ELF.Joel Sherrill1999-10-064-3/+14
|
* Added more sections and made minor modifications to let the linkcmdsJoel Sherrill1999-10-068-29/+54
| | | | | work with m68k-elf on late model versions of binutils (990901+) without overlapping or missing section errors.
* Fixed spelling error (FAMILLY --> FAMILY).Joel Sherrill1999-10-061-4/+4
|
* Invalid value used for baud rate per bug report fromJoel Sherrill1999-10-052-2/+2
| | | | Jay Kulpinski <jskulpin@eng01.gdds.com>.
* Removed ifdef on go32.Joel Sherrill1999-10-051-1/+1
|
* Removed go32 ifdefsJoel Sherrill1999-10-052-6/+0
|
* Added comment with CVS Id.Joel Sherrill1999-10-051-0/+4
|
* Changed bra.s to bra.l to remove error with new version of binutils.Joel Sherrill1999-10-052-4/+4
|
* Changed bra.s to bra.l to correct compilation error triggered by newJoel Sherrill1999-10-052-2/+2
| | | | version of binutils.
* Corrected so sections did not overlap with new version of binutils.Joel Sherrill1999-10-051-0/+6
|