[go: up one dir, main page]

|
|
Log in / Subscribe / Register

The case of the prematurely freed SKB

The case of the prematurely freed SKB

Posted Mar 6, 2017 12:41 UTC (Mon) by robbe (guest, #16131)
In reply to: The case of the prematurely freed SKB by oshepherd
Parent article: The case of the prematurely freed SKB

You did not state *why* you think get/put is that bad. What would someone unfamiliar with the kernel conventions think these functions do?


to post comments

The case of the prematurely freed SKB

Posted Mar 6, 2017 23:13 UTC (Mon) by mathstuf (subscriber, #69389) [Link]

One could think of it as getting or putting a count into the counter rather than getting a reference and the returning it. I had the same problem for the longest time with the power symbol. I saw it as 0 for a closed circuit and 1 for an open circuit. Exactly backwards.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds