public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1000717] New: lwIP TCP/IP drops incoming IP packets on SLIP interface
@ 2009-03-12 14:01 bugzilla-daemon
  2009-03-12 14:09 ` [Bug 1000717] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2009-03-12 14:01 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000717

           Summary: lwIP TCP/IP drops incoming IP packets on SLIP interface
           Product: eCos
           Version: 3.0beta1
          Platform: Other (please specify)
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: normal
         Component: TCP/IP
        AssignedTo: gary@mlbassoc.com
        ReportedBy: sergei.gavrikov@gmail.com
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


Created an attachment (id=670)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=670)
slipif.c patch

Today I tried 'lwip_ppp' template (ecos.ecc was tuned to handle SLIP interface)
and I found that slipif_init() cleared netif->flags (reset NETIF_FLAG_UP),
perhaps, this is normal for PPP mode, but when I ran lwip_tcpip tests on SLIP
interface I got on every right incoming IP input the LWIP debug message:

ip_input: packet not for us.

The check

    if ((netif_is_up(netif)) && (!ip_addr_isany(&(netif->ip_addr))))

found no UP interface, because NETIF_FLAG_UP has been already cleaned by
slipif_init()...

With a 1-line tweak (see the patch) all tests become to work just fine.

FYI: I referred with latest lwIP sources (1.3) and found no any wrap in the
place for the SLIP mode.

Can anybody confirm the issue?

Thanks,

Sergei


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


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

end of thread, other threads:[~2009-03-25  8:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 14:01 [Bug 1000717] New: lwIP TCP/IP drops incoming IP packets on SLIP interface bugzilla-daemon
2009-03-12 14:09 ` [Bug 1000717] " bugzilla-daemon
2009-03-12 15:20 ` bugzilla-daemon
2009-03-14 14:31 ` bugzilla-daemon
2009-03-25  8:43 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).