Patchwork [3/5] sit: ipip6_tunnel_del_prl: return err

login
register
mail settings
Submitter Sascha Hlusiak
Date May 19, 2009, 9:03 p.m.
Message ID <1242767023-9501-3-git-send-email-contact@saschahlusiak.de>
Download mbox | patch
Permalink /patch/27425/
State Superseded
Delegated to: David Miller
Headers show

Comments

Sascha Hlusiak - May 19, 2009, 9:03 p.m.
Typo. When deleting a PRL entry, return status to userspace
instead of success.

Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
---
 net/ipv6/sit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index dfedd56..3fd0600 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