lwIP - A Lightweight TCP/IP stack - Bugs: bug #56531, Missing locking in tcp_input()
You are not allowed to post comments on this tracker with your current authentication level.
bug #56531: Missing locking in tcp_input()
Submitter: | Andrew <andrew_parlane> | ||
Submitted: | Thu 20 Jun 2019 09:28:56 PM UTC | ||
Category: | TCP | Severity: | 3 - Normal |
Item Group: | Crash Error | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | Other |
Tue 25 Jun 2019 06:22:32 PM UTC, comment #3: |
Simon Goldschmidt <goldsimon> |
Thu 20 Jun 2019 10:32:50 PM UTC, comment #2: Hmm, interesting.
|
Andrew <andrew_parlane> |
Thu 20 Jun 2019 09:58:07 PM UTC, comment #1: Looks like you are violating lwIP threading constraints, you MUST NOT call ethernet_input() outside the lwIP main context.
|
Sylvain Rochet <gradator> |
Thu 20 Jun 2019 09:28:56 PM UTC, original submission:
I've been debugging an issue in our application where if the devices is sending TCP packets and at the same time receiving lots of UDP packets (I think this is due to the number of interrupts more than anything else), then LWIP crashes with an assert.
|
Andrew <andrew_parlane> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-06-25 | goldsimon | Status | None | Invalid | |
Open/Closed | Open | Closed | |||
2019-06-20 | andrew_parlane | Attached File | - | Added lwipopts.h, #47113 | |
Carbon-Copy | - | Added -email is unavailable- | |||
Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-02a9.
Corresponding source code
Wow, people are still using NIOS-II with lwIP :-)
As Sylvain already said it, you're doing things wrong. Maybe you're passing 'ethernet_input' as input function to 'netif_add' when registering your altera_tse_ethernetif when you should have passed 'tcpip_input'...
Anyway, not an lwIP bug, so closing as invalid.