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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Sascha Hlusiak 2009-05-19 12:56:50 +00:00 • committed by David S. Miller
commit 4b27960174

View file

@ -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