Skip to content
Snippets Groups Projects
Commit e2ba7581 authored by Dor Laor's avatar Dor Laor
Browse files

Rename _lock to _tx_gc_lock

parent 2379771f
No related branches found
No related tags found
No related merge requests found
......@@ -367,7 +367,7 @@ namespace virtio {
void virtio_net::tx_gc()
{
with_lock(_lock, [=] {
with_lock(_tx_gc_lock, [=] {
u32 len;
virtio_net_req * req;
......
......@@ -261,7 +261,7 @@ namespace virtio {
struct ifnet* _ifn;
// tx gc lock that can be called by the gc thread or the tx xmitter
mutex _lock;
mutex _tx_gc_lock;
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment