Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91377
b: refs/heads/master
c: 43837b1
h: refs/heads/master
i:
  91375: 4fd2bda
v: v3
  • Loading branch information
Bernard Pidoux authored and David S. Miller committed Apr 20, 2008
1 parent 6a61ee3 commit 9d75f3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d129f188abf14bbc13816667e4c0d465aac2c934
refs/heads/master: 43837b1e6c5aef803d57009a68db18df13e64892
6 changes: 4 additions & 2 deletions trunk/net/rose/af_rose.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,10 @@ static int rose_connect(struct socket *sock, struct sockaddr *uaddr, int addr_le

rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause,
&diagnostic);
if (!rose->neighbour)
return -ENETUNREACH;
if (!rose->neighbour) {
err = -ENETUNREACH;
goto out_release;
}

rose->lci = rose_new_lci(rose->neighbour);
if (!rose->lci) {
Expand Down

0 comments on commit 9d75f3e

Please sign in to comment.