Ignore ifnet renaming in the bpf ifnet departure handler.
PR: 213015 MFC after: 1 week
This commit is contained in:
parent
a0bc5f59cc
commit
84935b56a6
@ -2678,6 +2678,10 @@ bpf_ifdetach(void *arg __unused, struct ifnet *ifp)
|
||||
struct bpf_if *bp, *bp_temp;
|
||||
int nmatched = 0;
|
||||
|
||||
/* Ignore ifnet renaming. */
|
||||
if (ifp->if_flags & IFF_RENAMING)
|
||||
return;
|
||||
|
||||
BPF_LOCK();
|
||||
/*
|
||||
* Find matching entries in free list.
|
||||
|
Loading…
Reference in New Issue
Block a user