[bug #17777] PPP: netif not initialized and spontaneous IP data received

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #17777] PPP: netif not initialized and spontaneous IP data received

Wilfred

URL:
  <http://savannah.nongnu.org/bugs/?17777>

                 Summary: PPP: netif not initialized and spontaneous IP data
received
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: None
            Submitted on: Saturday 09/16/2006 at 23:32 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: Crash Error
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

I have tested the PPP with pppd and ping -f (flood). When I made reset the
device PPP started making LCP connection again. Some discards existed but
after receiving IP packet when upap was up the OS crashed (last message is
pppInput: ip).

Reason:
bug in ppp.c (3 times):
 pppControl[pd].netif.input(nb, &pppControl[pd].netif);

Solution:
there were the conditions necessary!
if (pppControl[pd].netif.input != NULL)
 pppControl[pd].netif.input(nb, &pppControl[pd].netif);


Janusz U.







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?17777>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
lwip-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17777] PPP: netif not initialized and spontaneous IP data received

Wilfred

Update of bug #17777 (project lwip):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?17777>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
lwip-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-devel