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:
commit
aa11d958d1
1599 changed files with 38227 additions and 25978 deletions
|
@ -954,6 +954,7 @@ static int rose_getname(struct socket *sock, struct sockaddr *uaddr,
|
|||
struct rose_sock *rose = rose_sk(sk);
|
||||
int n;
|
||||
|
||||
memset(srose, 0, sizeof(*srose));
|
||||
if (peer != 0) {
|
||||
if (sk->sk_state != TCP_ESTABLISHED)
|
||||
return -ENOTCONN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue