]> nv-tegra.nvidia Code Review - linux-3.10.git/commitdiff
[ROSE]: Fix typo in rose_route_frame() locking fix.
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2005 21:55:32 +0000 (14:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2005 21:55:32 +0000 (14:55 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rose/rose_route.c

index 46b23217a35309ac60e2ae33d5d054faef5dd1ef..25da6f699fd03c7b748cca110d42eb68eb54da27 100644 (file)
@@ -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 */
         *      2. It isn't "owned" by any existing route.
         */
        if (frametype != ROSE_CALL_REQUEST) {   /* XXX */
-               ret = 0;
+               res = 0;
                goto out;
        }
 
                goto out;
        }