From: Sascha Hlusiak Date: Tue, 19 May 2009 12:56:50 +0000 (+0000) Subject: sit: ipip6_tunnel_del_prl: return err X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4b2796017487f3c1e423b8e1ada6c94c0a8ea815;p=linux-beck.git 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 Signed-off-by: David S. Miller --- diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c index dfedd56ee104..3fd060076e7a 100644 --- a/net/ipv6/sit.c +++ b/net/ipv6/sit.c @@ -368,7 +368,7 @@ ipip6_tunnel_del_prl(struct ip_tunnel *t, struct ip_tunnel_prl *a) } out: write_unlock(&ipip6_lock); - return 0; + return err; } static int