NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/43294: locking against myself in ioctl setting up a gre interface



The following reply was made to PR kern/43294; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/43294: locking against myself in ioctl setting up a gre 
interface
Date: Wed, 12 May 2010 12:01:15 +0200

 Which is:
 
 (gdb) list *(in_control+0xae4)
 0x11ea884 is in in_control (../../../../netinet/in.c:504).
 499                     break;
 500     
 501             case SIOCAIFADDR:
 502                     maskIsNew = 0;
 503                     hostIsNew = 1;
 504                     mutex_enter(softnet_lock);
 505                     if (ia->ia_addr.sin_family != AF_INET)
 506                             ;
 507                     else if (ifra->ifra_addr.sin_len == 0) {
 508                             ifra->ifra_addr = ia->ia_addr;
 
 Martin
 


Home | Main Index | Thread Index | Old Index