]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sit: ipip6_tunnel_del_prl: return err
authorSascha Hlusiak <contact@saschahlusiak.de>
Tue, 19 May 2009 12:56:50 +0000 (12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2009 23:02:01 +0000 (16:02 -0700)
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>
net/ipv6/sit.c

index dfedd56ee104369e074feecf992ced50c4925ed1..3fd060076e7a78bad437041f2a5c1cca0322ac86 100644 (file)
@@ -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