aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r--net/unix/af_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 7f46bab4ce5c..a9ee634f3c42 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,
814 */ 814 */
815 case SOCK_RAW: 815 case SOCK_RAW:
816 sock->type = SOCK_DGRAM; 816 sock->type = SOCK_DGRAM;
817 /* fall through */
817 case SOCK_DGRAM: 818 case SOCK_DGRAM:
818 sock->ops = &unix_dgram_ops; 819 sock->ops = &unix_dgram_ops;
819 break; 820 break;