[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #33128] Socket send() and sendto() do not use bound in
From: |
Kieran Mansley |
Subject: |
[lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface. |
Date: |
Wed, 20 Apr 2011 07:36:58 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1 |
Follow-up Comment #1, bug #33128 (project lwip):
For completeness, do you have a reference for the behaviour you require? I
expect it is correct, but having a reference would save me testing and looking
for it, so make the fix much quicker.
Something that doesn't quite make sense to me is that for lwIP to be selecting
the wrong interface, you must have more than one interface that can reach the
destination. I.e. overlapping IP subnets. This isn't something that lwIP
aspires to support.
If we do want to do this, rather than caching the bound interface (which would
be more appropriate for SO_BINDTODEVICE) I think we just need to give
preference to the interface that matches the source address as well as the
destination address when routing.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?33128>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Ken MacKay, 2011/04/19
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface.,
Kieran Mansley <=
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Simon Goldschmidt, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Ken MacKay, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Simon Goldschmidt, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Ken MacKay, 2011/04/20
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Simon Goldschmidt, 2011/04/21
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Kieran Mansley, 2011/04/21
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Bill Auerbach, 2011/04/25
- [lwip-devel] [bug #33128] Socket send() and sendto() do not use bound interface., Bill Auerbach, 2011/04/25