aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorSascha Hlusiak <contact@saschahlusiak.de>2009-05-19 12:56:50 +0000
committerDavid S. Miller <davem@davemloft.net>2009-05-19 16:02:01 -0700
commit4b2796017487f3c1e423b8e1ada6c94c0a8ea815 (patch)
tree677b9948498a7b5060ab054160e3c3e440e67d37 /net/ipv6/sit.c
parent4fddbf5d7854b0a615c6481988895016f5d038d2 (diff)
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>
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r--net/ipv6/sit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index dfedd56ee10..3fd060076e7 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