summaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorSascha Hlusiak <contact@saschahlusiak.de>2009-05-19 14:56:50 +0200
committerDavid S. Miller <davem@davemloft.net>2009-05-20 01:02:01 +0200
commit4b2796017487f3c1e423b8e1ada6c94c0a8ea815 (patch)
tree677b9948498a7b5060ab054160e3c3e440e67d37 /net/ipv6/sit.c
parentsit: strictly restrict incoming traffic to tunnel link device (diff)
downloadlinux-4b2796017487f3c1e423b8e1ada6c94c0a8ea815.tar.xz
linux-4b2796017487f3c1e423b8e1ada6c94c0a8ea815.zip
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 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