From: [EMAIL PROTECTED] Date: Fri, 10 Aug 2007 14:12:03 -0700 > From: Satyam Sharma <[EMAIL PROTECTED]> > > Based upon initial work by Keiichi Kii <[EMAIL PROTECTED]>. > > The (!np.dev) check in write_msg() is bogus (always false), because: np.dev is > set by netpoll_setup(), which is called by init_netconsole() before > register_console(), so write_msg() cannot be triggered unless netpoll_setup() > successfully set np.dev. Also np.dev cannot go away from under us, because > netpoll_setup() grabs us reference on it. So let's remove the bogus check. > > Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> > Acked-by: Keiichi Kii <[EMAIL PROTECTED]> > Acked-by: Matt Mackall <[EMAIL PROTECTED]> > Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Applied to net-2.6.24, thanks! - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html