| To: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: An interface goes away while a socket is bound to it..what happens? |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Mon, 17 Jan 2005 19:39:45 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <41EC825B.4030603@xxxxxxxxxxxxxxx> |
| References: | <41EC825B.4030603@xxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Mon, 17 Jan 2005 19:28:27 -0800 Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > The interesting part to me is that I do not appearantly see any errors > while continuing to send UDP packets on the socket that was bound to the > original ppp0 interface, and yet no packets are ever routed over the new > ppp0 interface. I would expect it to either fail the write, or to just > magically keep working. If you have bound to the local IP address, when your T1 goes down that local IP address should no longer be assosciated with the system even when the PPP interface comes back up, so what should happen is that the route lookup in udp_sendmsg() will fail and sendmsg() will return with that error code. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | An interface goes away while a socket is bound to it..what happens?, Ben Greear |
|---|---|
| Next by Date: | [PATCH] 3c515: fix module_param type, Randy.Dunlap |
| Previous by Thread: | An interface goes away while a socket is bound to it..what happens?, Ben Greear |
| Next by Thread: | Re: An interface goes away while a socket is bound to it..what happens?, Ben Greear |
| Indexes: | [Date] [Thread] [Top] [All Lists] |