[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #8852] Optimize udp_bind code paths
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-devel] [patch #8852] Optimize udp_bind code paths |
Date: |
Tue, 12 Jan 2016 20:28:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #1, patch #8852 (project lwip):
Patch 2: Are you sure the line " } else if (rebind == 0) {" is correct? The
check for collisions with other PCB should also be done when rebinding - the
user could have chosen a port that is in use. Also note the IPv4/IPv6 is also
checked in the comparison.
In my opinion, it should only be "} else {"
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8852>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/