diff options
Diffstat (limited to 'net/phonet/af_phonet.c')
-rw-r--r-- | net/phonet/af_phonet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/phonet/af_phonet.c b/net/phonet/af_phonet.c index 0a74aeaf5adf..9e9c6fce11aa 100644 --- a/net/phonet/af_phonet.c +++ b/net/phonet/af_phonet.c | |||
@@ -58,6 +58,9 @@ static int pn_socket_create(struct net *net, struct socket *sock, int protocol) | |||
58 | case SOCK_DGRAM: | 58 | case SOCK_DGRAM: |
59 | protocol = PN_PROTO_PHONET; | 59 | protocol = PN_PROTO_PHONET; |
60 | break; | 60 | break; |
61 | case SOCK_SEQPACKET: | ||
62 | protocol = PN_PROTO_PIPE; | ||
63 | break; | ||
61 | default: | 64 | default: |
62 | return -EPROTONOSUPPORT; | 65 | return -EPROTONOSUPPORT; |
63 | } | 66 | } |