[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change. |
Date: |
Thu, 19 Apr 2007 11:23:31 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
Follow-up Comment #7, bug #3168 (project lwip):
Since for TCP pcbs, a call to pcb->recv() with a pbuf p=NULL means the
connection is closed, I propose to do it that way for UDP pcbs on netif
address change.
I'll attach a patch as a first draft.
Note that the comment in netif_set_ipaddr() can be removed and the
documentation (doc/rawapi.txt) must be updated (a notification mail to
lwip-users would be good as well).
Last, the core stack and the ports in contrib should be updated to test p
against null in all udp_pcv->recv() callbacks.
(file #12527)
_______________________________________________________
Additional Item Attachment:
File name: netif_handle_udp.patch Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?3168>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change., Simon Goldschmidt, 2007/04/04
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change., Kieran Mansley, 2007/04/05
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change.,
Simon Goldschmidt <=
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change., Simon Goldschmidt, 2007/04/19
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change., Simon Goldschmidt, 2007/04/26
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change., Jonathan Larmour, 2007/04/26
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change., Simon Goldschmidt, 2007/04/27
- [lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change., Jonathan Larmour, 2007/04/27