lkml.org 
[lkml]   [2012]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-pm] hiberante hangs TCP Re: [EXAMPLE CODE] Parasite thread injection and TCP connection hijacking
On Wed 2011-11-02 08:10:39, Tejun Heo wrote:
> Hello,
>
> On Wed, Nov 02, 2011 at 06:44:31PM +0900, MyungJoo Ham wrote:
> > > Hmmm... sounds like taking down network interfaces before starting
> > > hibernation sequence should be enough, which shouldn't be too
> > > difficult to implement from userland.  Rafael, what do you think?
> > >
> > > Thanks.
> >
> > Um... it seems that the "thaw" callbacks of network interfaces or TCP
> > should do something on this.
> >
> > Probably, the "thaw" callbacks should make sure that the TCP
> > connections are closed?
>
> I don't think it's a good idea to diddle with TCP connections from
> that layer. From what I understand, it seem all we need is plugging
> tx/rx while preparing for hibernation. That shouldn't be too
> difficult.

Yes, that should be done.

If someone has uswsusp setup where they talk over the network, it
might break them, but hopefully noone is doing that.

Also hopefully noone does hibernation on /dev/nbd.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-02-17 20:31    [W:0.050 / U:1.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site