The case of the prematurely freed SKB
The case of the prematurely freed SKB
Posted Mar 2, 2017 9:29 UTC (Thu) by oshepherd (guest, #90163)Parent article: The case of the prematurely freed SKB
I realise that it's a convention now and probably impossible and more dangerous to change, but... I can't help but feel _get and _put postfixes for increasing and decreasing the reference count are truly atrocious naming.
AddRef/DecRef, Retain/Release. There are just so many better options for naming ref counting functions. Bonus points if your AddRef/Retain function returns a pointer to the object you're increasing the ref count on, so you can do it while assigning...