Thread (18 messages) 18 messages, 8 authors, 2012-10-19

Re: Bug? TCP shutdown behaviour when deleting local IP addresses

flat view

From: Eric Dumazet <hidden>
Date: 2012-10-18 07:29:48

On Thu, 2012-10-18 at 01:08 -0600, Chris Friesen wrote:
While I agree generally, it's a bit unfortunate that we can't (as a 
quality of implementation thing) give an earlier notice of failure since 
the kernel knows about both ends of the connection even though the IP 
address is gone.  On the other hand, I imagine that would mean 
special-casing things and presumably that would open a whole can of worms.
Really what is the difference between a cable cut and what you are
doing ?

Some frames are lost (Dropped), and sender doesnt 'know' that is
definitive or temporary failure.

If you want faster response, you need to send RST messages, not dropping
frames.

So change your strategy, and add an iptables rule for example ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help