This patch series makes RTnet's tcp module usable again. It was not working due to several bugs which showed up in combination with reworked RTDM of Xenomai 3.
Tests on real hardware (little endian) were successful. A test on big endian is still pending. Sebastian Smolorz (8): net/tcp: return ufd in rt_tcp_accept() net/tcp: fix listen() and shutdown() IOCTL calls net/tcp: Fix bug when obtaining RST socket's private structure from its rtdm_fd pointer net/tcp: Copy data back to user buffer in rt_tcp_recvmsg net/tcp: fix TCP connection termination net/tcp: Set valid flags in struct tcphdr on little and big endian machines net/tcp: return already copied number of bytes to recv() callers when peer socket terminates net/tcp: Allow choice of rttcp protocol in Kconfig kernel/drivers/net/stack/ipv4/Kconfig | 2 +- kernel/drivers/net/stack/ipv4/tcp/tcp.c | 54 ++++++++++++--------------------- 2 files changed, 21 insertions(+), 35 deletions(-) -- 2.7.4