]> git.baikalelectronics.ru Git - kernel.git/commit
RxRPC: fix rxrpc_recvmsg()'s returning of msg_name
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Mar 2008 02:53:55 +0000 (18:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2008 02:53:55 +0000 (18:53 -0800)
commit68a06c0aad20abdc10e0169baef0b18b9a877352
tree68f3eca9e9ce6d4ae4e38575ab1370fb3b911d76
parent0ea38fe39c76b33da630ec5ec7c53e9b7cadd7b7
RxRPC: fix rxrpc_recvmsg()'s returning of msg_name

Fix rxrpc_recvmsg() to return msg_name correctly.  We shouldn't
overwrite the *msg struct, but should rather write into msg->msg_name
(there's a '&' unary operator that shouldn't be there).

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-recvmsg.c