Call bridge_span before dropping the lock.
MFC after: 5 days
This commit is contained in:
parent
c632e9d3cc
commit
b34b8d6783
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161401
@ -1755,14 +1755,14 @@ bridge_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *sa,
|
||||
struct mbuf *mc;
|
||||
int error = 0, used = 0;
|
||||
|
||||
bridge_span(sc, m);
|
||||
|
||||
BRIDGE_LOCK2REF(sc, error);
|
||||
if (error) {
|
||||
m_freem(m);
|
||||
return (0);
|
||||
}
|
||||
|
||||
bridge_span(sc, m);
|
||||
|
||||
LIST_FOREACH(bif, &sc->sc_iflist, bif_next) {
|
||||
dst_if = bif->bif_ifp;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user