Comments (8)
Original comment by [email protected]
on 12 Feb 2007 at 12:12
- Added labels: Milestone-Release0.6, Priority-High, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from iwidarwin.
"mbf" is bad function name ( everybody dont undersntad the meaning ).
this is named like a "mbuf_freem_list_with_check".
and "is critical to free the memory" is bad description.
this should be "added routine to avoid double free."
if u agree me , i merge this after renaming "mbf" to
"mbuf_freem_list_with_check".
Original comment by [email protected]
on 12 Feb 2007 at 7:39
from iwidarwin.
ok :)
Original comment by [email protected]
on 13 Feb 2007 at 5:13
from iwidarwin.
jalavoui, i has one question.
why do u use not freePacket but mbuf_freem_list ?
i seem that mbuf_freem_list should not be called directly.
void IONetworkController::freePacket(struct mbuf * m, IOOptionBits options)
{
assert(m);
if ( options & kDelayFree )
{
m->m_nextpkt = _freeList;
_freeList = m;
}
else
{
m_freem_list(m);
}
}
int mbuf_freem_list(mbuf_t mbuf)
{
return m_freem_list(mbuf);
}
Original comment by [email protected]
on 13 Feb 2007 at 9:50
from iwidarwin.
i'll try that
Original comment by [email protected]
on 13 Feb 2007 at 10:33
from iwidarwin.
at first.
I will define freePacket_withCheck like a following in mbf.
inline void freePacket_withCheck(mbuf_t m)
{
if( m != NULL && mbuf_len(m)!=0 && mbuf_type(m)!=MBUF_TYPE_FREE)
mbuf_freem_list(m);
}
and mbf() -> freePacket_withCheck().
Original comment by [email protected]
on 13 Feb 2007 at 11:48
from iwidarwin.
sorry s/mbuf_free_list/freePacket/
Original comment by [email protected]
on 13 Feb 2007 at 11:50
from iwidarwin.
Original comment by [email protected]
on 16 Feb 2007 at 5:02
- Changed state: Fixed
from iwidarwin.
Related Issues (20)
- ahahahaha, lol HOT 1
- crash happened HOT 1
- new version 3945 doesnt work HOT 1
- Kernel Panic after install with Intel 2100 HOT 1
- The iwi2200 doesn't work on iDeneb v1.4 Mac OS X 10.5.6 HOT 1
- Need kext for Intel WiFi link 5100 HOT 259
- Network Selector does not show wireless card HOT 1
- Network Selector 3945 ab/g: Could not get ID for kernel control HOT 8
- 3945 using 80211 code crashes in ::free() HOT 1
- the 3945 and 4965 drivers in this page are a prank, they never work! HOT 1
- easy way to install Intel 3945 drivers? HOT 1
- [deleted issue]
- Network SystemPreferences crashes if WiFi not connected HOT 1
- Association Doesn't work, is it supposed to? HOT 2
- i installed wifi card 3945 abg from here but mac thinks its ethernet card... HOT 2
- atheros AR507 HOT 1
- iwi3945abg will NOT associate with my UNSECURE wireless connection HOT 2
- 3945abg works for me ? HOT 2
- NetworkSelector Finds No Networks HOT 1
- How to uninstall? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iwidarwin.