]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/rose/rose_route.c
[TCP]: Move the tcp sock states to net/tcp_states.h
[net-next-2.6.git] / net / rose / rose_route.c
index 46b23217a35309ac60e2ae33d5d054faef5dd1ef..4510cd7613ecd851259bd4d6b43dc7637fd54ebf 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/if_arp.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
-#include <net/tcp.h>
+#include <net/tcp_states.h>
 #include <asm/system.h>
 #include <asm/uaccess.h>
 #include <linux/fcntl.h>
@@ -995,7 +995,7 @@ int rose_route_frame(struct sk_buff *skb, ax25_cb *ax25)
         *      2. It isn't "owned" by any existing route.
         */
        if (frametype != ROSE_CALL_REQUEST) {   /* XXX */
-               ret = 0;
+               res = 0;
                goto out;
        }