|
From: | Axel Lin |
Subject: | [lwip-devel] [patch #8849] udp_bind: Fix the logic to check both pcbs have REUSEADDR set |
Date: | Mon, 11 Jan 2016 03:07:52 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 |
URL: <http://savannah.nongnu.org/patch/?8849> Summary: udp_bind: Fix the logic to check both pcbs have REUSEADDR set Project: lwIP - A Lightweight TCP/IP stack Submitted by: axellin Submitted on: Mon 11 Jan 2016 03:07:51 AM GMT Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: The code for #if SO_REUSE case does not match the comment. By default, we don't allow to bind to a port that any other udp PCB is already bound to, unless *all* PCBs with that port have tha REUSEADDR flag set. Which means we want to omit checking for the same port if both pcbs have REUSEADDR set. Fix the logic accordingly. Fixes: d0348e0c60b3 ("task #6995: Implement SO_REUSEADDR (correctly)") _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 11 Jan 2016 03:07:51 AM GMT Name: 0001-udp_bind-Fix-the-logic-to-check-both-pcbs-have-REUSE.patch Size: 1kB By: axellin <http://savannah.nongnu.org/patch/download.php?file_id=35978> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?8849> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |