wolf480pl,
@wolf480pl@mstdn.io avatar

@icedquinn @dragoonaethis @lanodan
ok but like

did you have a double-linked-list anywhere in the code?

Normally in Linux kernel when you need a list, you include struct list_head inside your struct that you want to keep on the list.

Then when you retrieve something from the list, you get a pointer to the struct list_head, and you use container_of to get at your own struct that contains the list_head

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines