Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1286187

RE: [PATCH] r8152: fix lockup when runtime PM is enabled

From Hayes Wang <hayeswang@realtek.com>
Newsgroups linux.kernel
Subject RE: [PATCH] r8152: fix lockup when runtime PM is enabled
Date 2015-12-08 04:40 +0100
Message-ID <qDhia-5l7-11@gated-at.bofh.it> (permalink)
References <qD7iP-78M-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Peter Wu [mailto:peter@lekensteyn.nl]
> Sent: Tuesday, December 08, 2015 12:59 AM
[...]
> +			if (tp->netdev->flags & IFF_UP) {

Maybe you could just replace the checking of netif_running(tp->netdev) with this.

Excuse me. I have a question. Before the open() is finished, the netif_running() would
be true, but the IFF_UP wouldn't be set. Is it right?

Best Regards,
Hayes

--
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/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] r8152: fix lockup when runtime PM is enabled Peter Wu <peter@lekensteyn.nl> - 2015-12-07 18:00 +0100
  RE: [PATCH] r8152: fix lockup when runtime PM is enabled Hayes Wang <hayeswang@realtek.com> - 2015-12-08 04:40 +0100
    Re: [PATCH] r8152: fix lockup when runtime PM is enabled Peter Wu <peter@lekensteyn.nl> - 2015-12-08 12:20 +0100

csiph-web