commit | 357630668a638418d542d0e331c90c01a091a3f1 | [log] [tgz] |
---|---|---|
author | Nithin Nayak Sujir <nsujir@broadcom.com> | Mon Dec 03 19:36:56 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 04 12:58:49 2012 -0500 |
tree | e87eea7fa63da9b38dfaf9eeab558e52a5cc0c4c | |
parent | 682d7978aee072f411fc747d32954a8371dd7b1b [diff] |
tg3: Fix inconsistent locking for tg3_netif_start(). Every caller holds tp->lock when calling tg3_netif_start() except tg3_io_resume(). Fix it so that it is all consistent. The subsequent PTP patches add tg3_ptp_resume() to tg3_netif_start() and the tp->lock is required. Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>