Commit graph

21 commits

Author SHA1 Message Date
Cameron Gutman d9db39f82d - Return early if NBAddNeighbor or RouterAddRoute fails
- Fixes coverity error 389

svn path=/branches/aicom-network-fixes/; revision=36526
2008-09-26 03:23:56 +00:00
Cameron Gutman 9023e12475 - Return early if ProtocolNumber is too large
- Fixes coverity error 600

svn path=/branches/aicom-network-fixes/; revision=36525
2008-09-26 03:12:18 +00:00
Cameron Gutman 56d37e6da3 - Exit the loop when we find the matching Bucket
- Make sure we allocated Bucket
 - Remove a useless if
 - Return OSK_ENOBUFS if we can't allocate SleepingThread

svn path=/branches/aicom-network-fixes/; revision=36309
2008-09-19 02:12:55 +00:00
Cameron Gutman 15d003fb13 - Only continue sending fragments if the last one succeeded
svn path=/branches/aicom-network-fixes/; revision=36308
2008-09-19 00:40:13 +00:00
Cameron Gutman 340fdfa3ff - Add the spin locks back that I removed
svn path=/branches/aicom-network-fixes/; revision=36256
2008-09-15 12:54:53 +00:00
Cameron Gutman e43328b916 - Pass the status we were given to the completion routine
svn path=/branches/aicom-network-fixes/; revision=36249
2008-09-14 20:47:22 +00:00
Cameron Gutman 479f0c8d37 - Release the spin lock before calling NCETimeout
- Should fix the crash Wax had when using the kvmnet driver

svn path=/branches/aicom-network-fixes/; revision=36215
2008-09-14 06:05:47 +00:00
Cameron Gutman 2044568591 - Make PortsStartup return NTSTATUS so we can make sure memory allocated succeeded
- Change the callers to check the return status

svn path=/branches/aicom-network-fixes/; revision=36006
2008-09-06 21:30:09 +00:00
Cameron Gutman 8d622c2821 - Fail if PrepareARPPacket returned NULL
- Fixes another possible crash

svn path=/branches/aicom-network-fixes/; revision=35899
2008-09-02 23:47:05 +00:00
Cameron Gutman f398b8d6eb - Move the NULL check immediately after the memory is allocated
svn path=/branches/aicom-network-fixes/; revision=35898
2008-09-02 23:36:46 +00:00
Cameron Gutman fe270e9c66 - Fail if we didn't successfully add the header
svn path=/branches/aicom-network-fixes/; revision=35897
2008-09-02 23:26:32 +00:00
Cameron Gutman d75a5f4d04 - Set UDPInitialized to FALSE at the end of UDPShutdown
svn path=/branches/aicom-network-fixes/; revision=35896
2008-09-02 23:15:28 +00:00
Cameron Gutman 906dfdd979 - Don't handle OSK_EINPROGRESS since TCPTranslateError already has done the conversion to STATUS_PENDING
svn path=/branches/aicom-network-fixes/; revision=35714
2008-08-27 21:45:45 +00:00
Cameron Gutman 92073dfb72 - Fix many memory leaks
- Complete with the correct status

svn path=/branches/aicom-network-fixes/; revision=35656
2008-08-26 02:57:12 +00:00
Cameron Gutman d4296ce6a5 - Fix a memory leak
svn path=/branches/aicom-network-fixes/; revision=35653
2008-08-26 00:47:22 +00:00
Cameron Gutman 34a1b59e0a - Release the spin lock
svn path=/branches/aicom-network-fixes/; revision=35441
2008-08-19 00:19:18 +00:00
Cameron Gutman ede9f79604 - Revert my lib changes until I figure out some problems with them
svn path=/branches/aicom-network-fixes/; revision=35155
2008-08-07 02:40:45 +00:00
Cameron Gutman 69ef129571 - Fix one more memory leak
- Note: The reason the network stack stops functioning occasionally is because it runs out of resources not because ReactOS crashes which is why I'm tracking down memory leaks

svn path=/branches/aicom-network-fixes/; revision=35114
2008-08-04 21:06:39 +00:00
Cameron Gutman 107921e042 - Forgot to include one fix in my last commit
svn path=/branches/aicom-network-fixes/; revision=35110
2008-08-04 17:11:04 +00:00
Cameron Gutman c15c351f5d - Fix more memory leaks
svn path=/branches/aicom-network-fixes/; revision=35107
2008-08-04 16:46:53 +00:00
Art Yerkes c501d8112c Create a branch for network fixes.
svn path=/branches/aicom-network-fixes/; revision=34994
2008-08-01 11:32:26 +00:00