diff options
author | David S. Miller <davem@davemloft.net> | 2005-11-11 18:05:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-11 18:05:47 -0500 |
commit | 8eb55910521f3449a8125a38dd32fb676703395d (patch) | |
tree | 46ccf4bf582b5d7d1d240736608e33100ec02607 /net/sctp/protocol.c | |
parent | 85837ebdd7bb3e96a60e9b4c6af6c60d1273bc67 (diff) |
[IPV6]: Fix inet6_init missing unregister.
Based mostly upon a patch from Olaf Kirch <okir@suse.de>
When initialization fails in inet6_init(), we should
unregister the PF_INET6 socket ops.
Also, check sock_register()'s return value for errors.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions