net_interface_private: added receive queue and splited device reading from packet processing. Delivering to self no longer is executed in the sender's context, which had some problems with TCP's locking.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21214 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -345,6 +345,8 @@ create_buffer(size_t headerSpace)
|
||||
buffer->flags = 0;
|
||||
buffer->size = 0;
|
||||
|
||||
buffer->type = -1;
|
||||
|
||||
return buffer;
|
||||
}
|
||||
|
||||
@@ -378,6 +380,7 @@ copy_metadata(net_buffer *destination, const net_buffer *source)
|
||||
destination->offset = source->offset;
|
||||
destination->size = source->size;
|
||||
destination->protocol = source->protocol;
|
||||
destination->type = source->type;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user