All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [PATCH] Xenomai recvmsg cmsg patch
@ 2013-08-13 20:24 Manuel Huber
  2013-08-13 20:24 ` [Xenomai] [PATCH] rtdm: Fix msghdr struct (cmsg) in sys_rtdm_recvmsg Manuel Huber
  0 siblings, 1 reply; 5+ messages in thread
From: Manuel Huber @ 2013-08-13 20:24 UTC (permalink / raw)
  To: jan.kiszka; +Cc: xenomai

Current implementation of Xenomai's recvmsg syscall doesn't
handle msghdr fields (msg_control, msg_controllen) correctly. It's
necessary to change msg_controllen to the number of bytes written
to the buffer and fix msg_control if it has been used to point to
the actual starting address of the buffer. This would be necessary
to apply another feature to RTnet that allows to pass timestamps
from the driver to userspace applications easily 
(like SO_TIMESTAMP...). Please apply ;)

Manuel


Manuel Huber (1):
  rtdm: Fix msghdr struct (cmsg) in sys_rtdm_recvmsg

 ksrc/skins/rtdm/syscall.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

-- 
1.8.3



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-18  9:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 20:24 [Xenomai] [PATCH] Xenomai recvmsg cmsg patch Manuel Huber
2013-08-13 20:24 ` [Xenomai] [PATCH] rtdm: Fix msghdr struct (cmsg) in sys_rtdm_recvmsg Manuel Huber
2013-08-16 11:08   ` Jan Kiszka
2013-08-17 10:41     ` Manuel Huber
2013-08-18  9:20       ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.