]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: use proc_remove_subtree()
authorAl Viro <viro@ZenIV.linux.org.uk>
Fri, 16 Mar 2018 23:32:51 +0000 (23:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:11:22 +0000 (20:11 -0400)
commitd3c1c2110c357addee93b34cefd7c141630ea6f2
treed71c38e8e93706a871edfbfa0eab429fe1622156
parent1c941563b70eb3ca21dad7fde9c321479f982726
sctp: use proc_remove_subtree()

use proc_remove_subtree() for subtree removal, both on setup failure
halfway through and on teardown.  No need to make simple things
complex...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/sctp/objcnt.c
net/sctp/proc.c
net/sctp/protocol.c