git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/libc - Replace invalid '%C' strings with "(inval)"
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Network
/
E1000
/
e1000.c
diff --git
a/KernelLand/Modules/Network/E1000/e1000.c
b/KernelLand/Modules/Network/E1000/e1000.c
index
cdf16f0
..
0ad49b0
100644
(file)
--- a/
KernelLand/Modules/Network/E1000/e1000.c
+++ b/
KernelLand/Modules/Network/E1000/e1000.c
@@
-205,6
+205,7
@@
int E1000_SendPacket(void *Ptr, tIPStackBuffer *Buffer)
int txd = first_txd;
while( (idx = IPStack_Buffer_GetBuffer(Buffer, idx, &len, &ptr)) != -1 )
{
int txd = first_txd;
while( (idx = IPStack_Buffer_GetBuffer(Buffer, idx, &len, &ptr)) != -1 )
{
+ //Debug_HexDump("E100 SendPacket", ptr, len);
if( MM_GetPhysAddr(ptr) + len-1 != MM_GetPhysAddr((char*)ptr + len-1) )
{
size_t remlen = PAGE_SIZE - ((tVAddr)ptr & (PAGE_SIZE-1));
if( MM_GetPhysAddr(ptr) + len-1 != MM_GetPhysAddr((char*)ptr + len-1) )
{
size_t remlen = PAGE_SIZE - ((tVAddr)ptr & (PAGE_SIZE-1));
UCC
git Repository :: git.ucc.asn.au