[PATCH v2] Fix ERROR:do not initialise statics to 0 in af_vsock.c

2019-01-10 Thread Lepton Wu
Found by scripts/checkpatch.pl Signed-off-by: Lepton Wu --- net/vmw_vsock/af_vsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index 43a1dec08825..a60df252d3cc 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock

[PATCH] Fix ERROR:do not initialise statics to 0 in af_vsock.c

2019-01-09 Thread Lepton Wu
Found by scripts/checkpatch.pl --- net/vmw_vsock/af_vsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index 43a1dec08825..a60df252d3cc 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c @@ -505,7 +505,7

[PATCH v2] VSOCK: bind to random port for VMADDR_PORT_ANY

2018-12-11 Thread Lepton Wu
packets could hit that orphaned vsock. We could also fix this by doing more in vhost_vsock_reset_orphans, but any way, it should be better to start from a random local port instead of a fixed one. Signed-off-by: Lepton Wu --- net/vmw_vsock/af_vsock.c | 7 ++- 1 file changed, 6 insertions(+), 1

[PATCH] VSOCK: bind to random port for VMADDR_PORT_ANY

2018-12-10 Thread Lepton Wu
packets could hit that orphaned vsock. We could also fix this by doing more in vhost_vsock_reset_orphans, but any way, it should be better to start from a random local port instead of a fixed one. Signed-off-by: Lepton Wu --- net/vmw_vsock/af_vsock.c | 6 +- 1 file changed, 5 insertions(+), 1