]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Correctly cleanup procfs entries upon failure.
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 16 Jun 2008 23:59:55 +0000 (16:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jun 2008 23:59:55 +0000 (16:59 -0700)
commit89d887a58571366c32e7a7de5d2b6b80d38051fd
tree0646aee2e49f0d8c789a3239d579a6e9e7fee0bb
parentf5f40d2cba4ca2612a94765edde3d9bc304fc262
sctp: Correctly cleanup procfs entries upon failure.

This patch remove the proc fs entry which has been created if fail to
set up proc fs entry for the SCTP protocol.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c