[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5c33d92a.63a2de8c.4b44f47a.8762@o2.pl>
Date: Wed, 06 Jan 2010 21:37:14 +0100
From: Bartłomiej Zimoń <uzi18@...pl>
To: linux-kernel@...r.kernel.org
Cc: aeriksson@...tmail.fm, awalls@...ix.net,
linux-pm@...ts.linux-foundation.org,
Anders Eriksson <aeriksson@...tmail.fm>,
danborkmann@...glemail.com
Subject: Re: [linux-pm] [suspend/resume] Re: userspace notific ation from module
Dnia 6 stycznia 2010 15:35 Anders Eriksson <aeriksson@...tmail.fm> napisał(a):
>
> uzi18@...pl said:
> > Ummm sorry, it's IM App, to be realible for such app it's needed to close
> > conn before suspend, because after resume tcp connections will wait
> > (especialy on linux) quiet a lot of time to broke and reconnect.
>
> I don't know the details here, but shouldn't the kernel fix this internally?
>
> If sufficient time have elapsed so the kernel _should_ have sent keep alives
> etc on an othervise idle connection, they shold be sent immediately on resume.
> If the other end has disappeared by then, the resulting port unreachable
> should trigger a local closure of the tcp state which the app will notice
> (EBADF, or similar). Or?
>
> Seems to me the kernel should sit on enough info to handle this nicely.
>
Good bohevior is client to close session before suspend to not loose any message.
Best Regards
Bartlomiej Zimon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists