diff options
author | Sascha Hlusiak <contact@saschahlusiak.de> | 2009-05-19 14:56:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-20 01:02:01 +0200 |
commit | 4b2796017487f3c1e423b8e1ada6c94c0a8ea815 (patch) | |
tree | 677b9948498a7b5060ab054160e3c3e440e67d37 /net/ipv6/sit.c | |
parent | sit: strictly restrict incoming traffic to tunnel link device (diff) | |
download | linux-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.c | 2 |
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 |