Selaa lähdekoodia

sit: ipip6_tunnel_del_prl: return err

Typo. When deleting a PRL entry, return status to userspace
instead of success.

Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Sascha Hlusiak 16 vuotta sitten
vanhempi
commit
4b27960174
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      net/ipv6/sit.c

+ 1 - 1
net/ipv6/sit.c

@@ -368,7 +368,7 @@ ipip6_tunnel_del_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a)
 	}
 	}
 out:
 out:
 	write_unlock(&ipip6_lock);
 	write_unlock(&ipip6_lock);
-	return 0;
+	return err;
 }
 }
 
 
 static int
 static int