Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300002
b: refs/heads/master
c: 84768ed
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and David S. Miller committed May 3, 2012
1 parent 6347bdb commit 9769b74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 4fdcfa12843bca38d0c9deff70c8720e4e8f515f
refs/heads/master: 84768edbb2721637620b2d84501bb0d5aed603f1
3 changes: 2 additions & 1 deletion trunk/net/l2tp/l2tp_ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,9 @@ static int l2tp_ip_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *m

daddr = lip->l2tp_addr.s_addr;
} else {
rc = -EDESTADDRREQ;
if (sk->sk_state != TCP_ESTABLISHED)
return -EDESTADDRREQ;
goto out;

daddr = inet->inet_daddr;
connected = 1;
Expand Down

0 comments on commit 9769b74

Please sign in to comment.