From: David S. Miller Date: Tue, 23 Aug 2005 21:55:32 +0000 (-0700) Subject: [ROSE]: Fix typo in rose_route_frame() locking fix. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1cc168442a943ed3997f6543db87c061987f9d7;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [ROSE]: Fix typo in rose_route_frame() locking fix. Signed-off-by: David S. Miller --- diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c index 46b23217a353..25da6f699fd0 100644 --- a/net/rose/rose_route.c +++ b/net/rose/rose_route.c @@ -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; }