Преглед изворни кода

[ROSE]: Fix typo in rose_route_frame() locking fix.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller пре 19 година
родитељ
комит
c1cc168442
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      net/rose/rose_route.c

+ 1 - 1
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;
 	}