Correct rev 1.56 which (incorrectly) reversed the test used to
decide if in_pcbpurgeif0 should be invoked. Supported by: FreeBSD Foundation
This commit is contained in:
parent
93f57d1562
commit
9ce7877897
@ -423,7 +423,7 @@ in_control(so, cmd, data, ifp, td)
|
||||
* XXX horrible hack to detect that we are being called
|
||||
* from if_detach()
|
||||
*/
|
||||
if (ifaddr_byindex(ifp->if_index) != NULL) {
|
||||
if (ifaddr_byindex(ifp->if_index) == NULL) {
|
||||
in_pcbpurgeif0(&ripcbinfo, ifp);
|
||||
in_pcbpurgeif0(&udbinfo, ifp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user