]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/vmw_vsock/af_vsock.c
x25: add a sanity check parsing X.25 facilities
[karo-tx-linux.git] / net / vmw_vsock / af_vsock.c
index 593071dabd1cc7477169b24bc31979d8590465b6..545c08b8a1d482ac0c155ab755f6623c62ffcbe5 100644 (file)
@@ -96,8 +96,7 @@
 #include <linux/wait.h>
 #include <linux/workqueue.h>
 #include <net/sock.h>
-
-#include "af_vsock.h"
+#include <net/af_vsock.h>
 
 static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr);
 static void vsock_sk_destruct(struct sock *sk);
@@ -347,7 +346,7 @@ void vsock_for_each_connected_socket(void (*fn)(struct sock *sk))
        for (i = 0; i < ARRAY_SIZE(vsock_connected_table); i++) {
                struct vsock_sock *vsk;
                list_for_each_entry(vsk, &vsock_connected_table[i],
-                                   connected_table);
+                                   connected_table)
                        fn(sk_vsock(vsk));
        }