Re: TCP/IPv4/uIP stack appears to be broken with recent commit

Paul Sokolovsky

Hello Rohit,

On Wed, 12 Oct 2016 12:57:26 +0000
Rohit Grover <Rohit.Grover(a)> wrote:


Can your issue be reproduced by the vanilla echo_server sample?
I'm not sure what you mean by "vanilla". Default configuration of
echo_server doesn't have IPv4 or TCP enabled, and one needs to enable
those to see the issue. There're no changes to echo_server beyond
that. Otherwise, the issue is reproducible with QEMU SLIP driver (setup
described in (my
original test was with FDRM-K64F Ethernet driver). After "git revert
627feb92d4b01556891e232db6b9c9181899965b", QEMU SLIP starts to work,
just as FDRM-K64F Ethernet before.


> -----Original Message-----
> From: Jukka Rissanen [mailto:jukka.rissanen(a)]
> Sent: 12 October 2016 13:40
> To: Paul Sokolovsky; devel(a); Rohit Grover
> Subject: Re: TCP/IPv4/uIP stack appears to be broken with recent
> commit
> Hi Paul,
> we can revert if
> needed. The patch fixed an issue Rohit had thou. Best would be to
> find a solution that fixes both problems.
> Cheers,
> Jukka
> On Tue, 2016-10-11 at 20:22 +0300, Paul Sokolovsky wrote:
> > Hello,
> >
> > To make sure that my comment to
> > isn't lost, I'd
> > like to dup it with this email. The patch above has broke
> > echo_server TCP/IPv4 for me. When run on frdm_k64f over
> > Ethernet, the application answers pings, but being telneted to
> > port 4242, it doesn't echo TCP data. Note that the issue of
> > "The trouble is that that linkage between the outgoing buffer
> > and the connection hasn't been established at the point
> > data_is_sent_and_acked() is called" has been fixed some time
> > ago by .
> >
> > Reverting just that commit fixes issue for me.
> >

IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose
the contents to any other person, use it for any purpose, or store or
copy the information in any medium. Thank you.

Best Regards,
Paul | Open source software for ARM SoCs
Follow Linaro:!/linaroorg -

Join to automatically receive all group messages.