Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349638
b: refs/heads/master
c: 700163d
h: refs/heads/master
v: v3
  • Loading branch information
Tom Parkin authored and David S. Miller committed Jan 31, 2013
1 parent cacc549 commit a90ad82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8e72d37eb304d9ec5dfb51bc2d83e900b79ee764
refs/heads/master: 700163db3de397a7557831e1eb9b8ce60e55590a
6 changes: 3 additions & 3 deletions trunk/net/l2tp/l2tp_ip6.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ static int l2tp_ip6_recvmsg(struct kiocb *iocb, struct sock *sk,
struct msghdr *msg, size_t len, int noblock,
int flags, int *addr_len)
{
struct inet_sock *inet = inet_sk(sk);
struct ipv6_pinfo *np = inet6_sk(sk);
struct sockaddr_l2tpip6 *lsa = (struct sockaddr_l2tpip6 *)msg->msg_name;
size_t copied = 0;
int err = -EOPNOTSUPP;
Expand Down Expand Up @@ -688,8 +688,8 @@ static int l2tp_ip6_recvmsg(struct kiocb *iocb, struct sock *sk,
lsa->l2tp_scope_id = IP6CB(skb)->iif;
}

if (inet->cmsg_flags)
ip_cmsg_recv(msg, skb);
if (np->rxopt.all)
ip6_datagram_recv_ctl(sk, msg, skb);

if (flags & MSG_TRUNC)
copied = skb->len;
Expand Down

0 comments on commit a90ad82

Please sign in to comment.