[3/5] sit: ipip6_tunnel_del_prl: return err

Submitted by Sascha Hlusiak on May 19, 2009, 9:03 p.m.

Details

Message ID 1242767023-9501-3-git-send-email-contact@saschahlusiak.de
State Superseded
Delegated to: David Miller
Headers show

Commit Message

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 hide | download patch | download mbox

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