lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #33803] API message type incorrect


From: Brad Giffel
Subject: [lwip-devel] [bug #33803] API message type incorrect
Date: Tue, 19 Jul 2011 20:29:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110628 Ubuntu/10.10 (maverick) Firefox/3.6.18

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

                 Summary: API message type incorrect
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: bgiffel
            Submitted on: Tue 19 Jul 2011 08:29:46 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

The new functions for using static messages from interrupt handlers has a
problem with the message type.  When calling tcpip_callbackmsg_new() the
function sets the message type to TCPIP_MSG_CALLBACK which would cause the
tcpip_thread() function to free the message after the callback.  This is not
the intended behaviour, the message structure should not be deleted.

Line 419 in tcpip.c should be:

msg->type = TCPIP_MSG_CALLBACK_STATIC;






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]