Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: arch/microblaze/include/asm/socket.h
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#include <linux/capability.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <linux/socket.h>
|
||||
#include <linux/sockios.h>
|
||||
#include <linux/init.h>
|
||||
@@ -714,6 +715,7 @@ static int irda_getname(struct socket *sock, struct sockaddr *uaddr,
|
||||
struct sock *sk = sock->sk;
|
||||
struct irda_sock *self = irda_sk(sk);
|
||||
|
||||
memset(&saddr, 0, sizeof(saddr));
|
||||
if (peer) {
|
||||
if (sk->sk_state != TCP_ESTABLISHED)
|
||||
return -ENOTCONN;
|
||||
|
@@ -241,7 +241,6 @@
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/tty.h>
|
||||
#include <linux/proc_fs.h>
|
||||
|
@@ -13,6 +13,7 @@
|
||||
* 2) as a control channel (write commands, read events)
|
||||
*/
|
||||
|
||||
#include <linux/smp_lock.h>
|
||||
#include "irnet_ppp.h" /* Private header */
|
||||
/* Please put other headers in irnet.h - Thanks */
|
||||
|
||||
|
Reference in New Issue
Block a user