VSOCK: Introduce vsock_auto_bind helper
authorAsias He <asias@redhat.com>
Thu, 20 Jun 2013 09:20:30 +0000 (17:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 06:51:48 +0000 (23:51 -0700)
commitb3a6dfe8178c5159e54117078134fef806a913ca
tree0e6317b55b00302124e3b55425ad9edfa2da3d99
parentb33698e267ff17a97ecf3ee621a925bb356e9120
VSOCK: Introduce vsock_auto_bind helper

This peace of code is called three times, let's have a helper for it.

Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/af_vsock.c