summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-12-04 17:59:52 +0000
committerMark Brown <broonie@kernel.org>2017-12-04 17:59:52 +0000
commitd218439feccafaa3e852bbaecc0d9f6110096b65 (patch)
treec4ebfeaebd965735cea5d90332d0f8013b79e628 /net/unix/af_unix.c
parenta76d7f5454c688b52dc849e832cc4c6dd0975723 (diff)
parentfdaa451107ce543d345a339b4d5e20e8e4bac396 (diff)
Merge branch 'fix/amd' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-amd
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 7f46bab4ce5c8..a9ee634f3c428 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;