diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 7f46bab4ce5c84aa285d8141b4e0f822e8dab01f..a9ee634f3c4288d6c3dca1e3506fba3bfa83432a 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -814,6 +814,7 @@ static int unix_create(struct net *net, struct socket *sock, int protocol, */ case SOCK_RAW: sock->type = SOCK_DGRAM; + /* fall through */ case SOCK_DGRAM: sock->ops = &unix_dgram_ops; break;