diff options
| author | 2022-12-08 23:01:58 +0800 | |
|---|---|---|
| committer | 2022-12-12 10:04:08 +0000 | |
| commit | 73e341e0281a35274629e9be27eae2f9b1b492bf (patch) | |
| tree | aa3e882567dbde29220b9e06b9ae73842a60a0eb /security/integrity/git:/ssh:/git@git.zx2c4.com | |
| parent | net: setsockopt: fix IPV6_UNICAST_IF option for connected sockets (diff) | |
af_unix: call proto_unregister() in the error path in af_unix_init()
If register unix_stream_proto returns error, unix_dgram_proto needs
be unregistered.
Fixes: 94531cfcbe79 ("af_unix: Add unix_stream_proto for sockmap")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/integrity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
