summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorQingfang Deng <qingfang.deng@linux.dev>2026-04-07 17:40:56 +0800
committerJakub Kicinski <kuba@kernel.org>2026-04-09 20:03:48 -0700
commit5ecbebc9483c61280153ebdceda5f4db7ae63d18 (patch)
tree0e821e9664621004236d9257d3ba69233afe1b5b /net/ipv6
parent84c5a3f00084ffd741a4c3261a58dd10cd5aceaf (diff)
downloadlwn-5ecbebc9483c61280153ebdceda5f4db7ae63d18.tar.gz
lwn-5ecbebc9483c61280153ebdceda5f4db7ae63d18.zip
ppp: consolidate refcount decrements
ppp_destroy_{channel,interface} are always called after refcount_dec_and_test(). To reduce boilerplate code, consolidate the decrements by moving them into the two functions. To reflect this change in semantics, rename the functions to ppp_release_*. Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev> Link: https://patch.msgid.link/20260407094058.257246-1-qingfang.deng@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions