Skip to content

Commit

Permalink
sit: ipip6_tunnel_del_prl: return err
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hlusiak authored and David S. Miller committed May 19, 2009
1 parent 4fddbf5 commit 4b27960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/sit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b27960

Please sign in to comment.