Module: xenomai-forge
Branch: next
Commit: d4c18964d68486971e372e90c87f5fdb3c15439a
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=d4c18964d68486971e372e90c87f5fdb3c15439a

Author: Lars Steubesand <lars.steubes...@philips.com>
Date:   Sun Apr  6 16:07:15 2014 +0200

rtipc/iddp: fix inverted arguments to __iddp_alloc_mbuf()

---

 kernel/drivers/ipc/iddp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/ipc/iddp.c b/kernel/drivers/ipc/iddp.c
index 3fe43db..cd2d7c8 100644
--- a/kernel/drivers/ipc/iddp.c
+++ b/kernel/drivers/ipc/iddp.c
@@ -411,7 +411,7 @@ static ssize_t __iddp_sendmsg(struct rtipc_private *priv,
                return -ECONNREFUSED;
        }
 
-       mbuf = __iddp_alloc_mbuf(rsk, len, flags, sk->tx_timeout, &ret);
+       mbuf = __iddp_alloc_mbuf(rsk, len, sk->tx_timeout, flags, &ret);
        if (unlikely(ret)) {
                rtdm_context_unlock(rcontext);
                return ret;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to