diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-07 03:28:01 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-24 10:28:49 +0100 |
commit | e169371823827dae1fd1d15bceb0fe5497c1a5ba (patch) | |
tree | 8e3f8e4bfaeb5f370eeef55d0282280973ddba0b /net/ipx/af_ipx.c | |
parent | new helper: memcpy_from_msg() (diff) | |
download | linux-e169371823827dae1fd1d15bceb0fe5497c1a5ba.tar.xz linux-e169371823827dae1fd1d15bceb0fe5497c1a5ba.zip |
switch ipxrtr_route_packet() from iovec to msghdr
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/ipx/af_ipx.c')
-rw-r--r-- | net/ipx/af_ipx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c index 97dc4320ac15..f11ad1d95e0e 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1745,8 +1745,7 @@ static int ipx_sendmsg(struct kiocb *iocb, struct socket *sock, memcpy(usipx->sipx_node, ipxs->dest_addr.node, IPX_NODE_LEN); } - rc = ipxrtr_route_packet(sk, usipx, msg->msg_iov, len, - flags & MSG_DONTWAIT); + rc = ipxrtr_route_packet(sk, usipx, msg, len, flags & MSG_DONTWAIT); if (rc >= 0) rc = len; out: |