summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-06-08 19:22:30 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-10 18:28:40 +0300
commitc8459ee2fef502d6ef6c063751c33d9ac7943eab (patch)
tree3d42d111e52a7963523cfdcff7ca283e469efad5 /tools/lib/python/kdoc
parent1225253dc50ce7154d3c0247c11f1e8b3ec92aeb (diff)
downloadlinux-c8459ee2fef502d6ef6c063751c33d9ac7943eab.tar.xz
sctp: Unwind address notifier registration on failure
sctp_v4_add_protocol() and sctp_v6_add_protocol() register their address notifiers before registering the SCTP protocol handlers. If protocol registration fails, the functions return without unregistering the notifiers. Unregister the notifiers on the protocol registration failure paths. Also propagate notifier registration failures instead of ignoring them. Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Link: https://patch.msgid.link/20260608162230.46644-1-dbgh9129@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions