diff options
Diffstat (limited to 'net/rose/af_rose.c')
-rw-r--r-- | net/rose/af_rose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index af86bcb604e5..46461a69cd0f 100644 --- a/net/rose/af_rose.c +++ b/net/rose/af_rose.c | |||
@@ -757,7 +757,7 @@ static int rose_connect(struct socket *sock, struct sockaddr *uaddr, int addr_le | |||
757 | sock->state = SS_UNCONNECTED; | 757 | sock->state = SS_UNCONNECTED; |
758 | 758 | ||
759 | rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, | 759 | rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, |
760 | &diagnostic); | 760 | &diagnostic, 0); |
761 | if (!rose->neighbour) { | 761 | if (!rose->neighbour) { |
762 | err = -ENETUNREACH; | 762 | err = -ENETUNREACH; |
763 | goto out_release; | 763 | goto out_release; |
@@ -853,7 +853,7 @@ rose_try_next_neigh: | |||
853 | 853 | ||
854 | if (sk->sk_state != TCP_ESTABLISHED) { | 854 | if (sk->sk_state != TCP_ESTABLISHED) { |
855 | /* Try next neighbour */ | 855 | /* Try next neighbour */ |
856 | rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, &diagnostic); | 856 | rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, &diagnostic, 0); |
857 | if (rose->neighbour) | 857 | if (rose->neighbour) |
858 | goto rose_try_next_neigh; | 858 | goto rose_try_next_neigh; |
859 | 859 | ||