git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Phonet: Pipe End Point for Phonet Pipes protocol
[safe/jmp/linux-2.6]
/
net
/
phonet
/
af_phonet.c
diff --git
a/net/phonet/af_phonet.c
b/net/phonet/af_phonet.c
index
0a74aea
..
9e9c6fc
100644
(file)
--- 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)
case SOCK_DGRAM:
protocol = PN_PROTO_PHONET;
break;
+ case SOCK_SEQPACKET:
+ protocol = PN_PROTO_PIPE;
+ break;
default:
return -EPROTONOSUPPORT;
}