]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit1ff82fe0024e8070c38346b8abc1ff09612dea4c
tree68f3eca9e9ce6d4ae4e38575ab1370fb3b911d76
parent02ff05c49d7804f2574f358a937b43a41d15e36e
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