Ignore ifnet renaming in the bpf ifnet departure handler.
PR: 213015 MFC after: 1 week
This commit is contained in:
parent
286ab2b514
commit
250a8e2720
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315192
@ -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