Hold RTNL while calling dev_close()
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 6 May 2008 18:41:48 +0000 (19:41 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 27 Jun 2008 05:31:52 +0000 (01:31 -0400)
commit3e3cda96d014b69f7723d1d4507897e5be6aceb7
tree7ff77f9cd865ccedfa849840fb38bd6c649ccdee
parentc81ec80bc86f4eacd5f48229c1de623865acbb92
Hold RTNL while calling dev_close()

dev_close() must be called holding the RTNL.  Compile-tested only.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/wan/x25_asy.c