Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bpo-27584: Fixes for V7
Minor cleanup.
  • Loading branch information
caavery committed Sep 5, 2017
commit 42026f346c8a999643af1ae2e308b268fa417bc7
2 changes: 1 addition & 1 deletion Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ created. Socket addresses are represented as follows:
their hosts. The sockets are represented as a ``(CID, port)`` tuple
where the context ID or CID and port are integers.

Availability: Linux >= 3.9.
Availability: Linux >= 4.8 QEMU >= 2.8 ESX >= 4.0 ESX Workstation >= 6.5

.. versionadded:: 3.7

Expand Down
4 changes: 1 addition & 3 deletions Modules/socketmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ typedef int socklen_t;

#ifdef HAVE_LINUX_VM_SOCKETS_H
# include <linux/vm_sockets.h>
#else
# undef AF_VSOCK
#endif

/* Linux 3.19 */
Expand Down Expand Up @@ -199,7 +197,7 @@ typedef union sock_addr {
#ifdef HAVE_SOCKADDR_ALG
struct sockaddr_alg alg;
#endif
#ifdef HAVE_LINUX_VM_SOCKETS_H
#ifdef AF_VSOCK
struct sockaddr_vm vm;
#endif
} sock_addr_t;
Expand Down