when doing internal bridging free the node instead of just dropping the
reference for consistency (explicit refcounting is discouraged) Obtained from: madwifi
This commit is contained in:
parent
0b28f0e554
commit
c09c9ffb05
@ -284,7 +284,7 @@ ieee80211_input(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni,
|
||||
m1 = m;
|
||||
m = NULL;
|
||||
}
|
||||
ieee80211_unref_node(&ni);
|
||||
ieee80211_free_node(ic, ni);
|
||||
}
|
||||
}
|
||||
if (m1 != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user