Re: [PATCH net] lapb: fixed leak of control-blocks.

2019-06-16 Thread David Miller
From: Jeremy Sowden Date: Sun, 16 Jun 2019 16:54:37 +0100 > lapb_register calls lapb_create_cb, which initializes the control- > block's ref-count to one, and __lapb_insert_cb, which increments it when > adding the new block to the list of blocks. > > lapb_unregister calls __lapb_remove_cb, whic

[PATCH net] lapb: fixed leak of control-blocks.

2019-06-16 Thread Jeremy Sowden
lapb_register calls lapb_create_cb, which initializes the control- block's ref-count to one, and __lapb_insert_cb, which increments it when adding the new block to the list of blocks. lapb_unregister calls __lapb_remove_cb, which decrements the ref-count when removing control-block from the list o