* put_route() now survives being called with a NULL domain (TCP might do this).
* This fixes bug #6239. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37583 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
470934be8c
commit
0fc7ab7be6
@ -663,6 +663,9 @@ void
|
||||
put_route(struct net_domain* _domain, net_route* route)
|
||||
{
|
||||
struct net_domain_private* domain = (net_domain_private*)_domain;
|
||||
if (domain == NULL || route == NULL)
|
||||
return;
|
||||
|
||||
RecursiveLocker locker(domain->lock);
|
||||
|
||||
put_route_internal(domain, (net_route*)route);
|
||||
|
Loading…
Reference in New Issue
Block a user