Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
authorDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2009 11:08:24 +0000 (04:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2009 11:08:24 +0000 (04:08 -0700)
Conflicts:
net/iucv/af_iucv.c

1  2 
drivers/net/8139too.c
drivers/net/ucc_geth.c
net/iucv/af_iucv.c

Simple merge
Simple merge
index 264c6b36931ce2e63e6a4d27e0c0e817e2e94e81,b51c9187c3476652b2e4f1f01c4e7c52dc637e07..0fc00087ea8b14f4a8d2d98b40dc0ba4a6b57b62
@@@ -267,8 -225,8 +268,10 @@@ static struct sock *iucv_sock_alloc(str
        spin_lock_init(&iucv_sk(sk)->message_q.lock);
        skb_queue_head_init(&iucv_sk(sk)->backlog_skb_q);
        iucv_sk(sk)->send_tag = 0;
 +      iucv_sk(sk)->flags = 0;
 +      iucv_sk(sk)->msglimit = IUCV_QUEUELEN_DEFAULT;
+       iucv_sk(sk)->path = NULL;
+       memset(&iucv_sk(sk)->src_user_id , 0, 32);
  
        sk->sk_destruct = iucv_sock_destruct;
        sk->sk_sndtimeo = IUCV_CONN_TIMEOUT;
@@@ -1046,16 -863,10 +1053,14 @@@ static int iucv_sock_recvmsg(struct kio
                                iucv_process_message_q(sk);
                        spin_unlock_bh(&iucv->message_q.lock);
                }
-       } else
-               skb_queue_head(&sk->sk_receive_queue, skb);
+       }
  
  done:
 -      return err ? : copied;
 +      /* SOCK_SEQPACKET: return real length if MSG_TRUNC is set */
 +      if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC))
 +              copied = rlen;
 +
 +      return copied;
  }
  
  static inline unsigned int iucv_accept_poll(struct sock *parent)