]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
tipc: Provide correct error code for unsupported connect() operation
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Aug 2010 11:00:05 +0000 (11:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 00:31:52 +0000 (17:31 -0700)
commit35997e3157eba16c6124d440bdf9272087129b2a
treebc12850561585be7937778852bbb81655a053aee
parent3720d40b201fe82dce1d8a64a31bfbf49c221771
tipc: Provide correct error code for unsupported connect() operation

Modify TIPC to return EOPNOTSUPP if an application attempts to perform
 a non-blocking connect() operation, which is not supported by TIPC.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c