From: Erik Hugne Date: Thu, 19 Mar 2015 08:02:19 +0000 (+0100) Subject: tipc: add support for connect() on dgram/rdm sockets X-Git-Tag: omap-for-v4.2/o2_dc~131^2~205^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2f8036e391eb82ee78764483f869f2feafb5da8;p=pandora-kernel.git tipc: add support for connect() on dgram/rdm sockets Following the example of ip4_datagram_connect, we store the address in the socket structure for dgram/rdm sockets and use that as the default destination for subsequent send() calls. It is allowed to connect to any address types, and the behaviour of send() will be the same as a normal sendto() with this address provided. Binding to an AF_UNSPEC address clears the association. Signed-off-by: Erik Hugne Reviewed-by: Ying Xue Reviewed-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed