]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sky2: Avoid rtnl_unlock without rtnl_lock
authorMike McCormack <mikem@ring3k.org>
Sat, 13 Mar 2010 20:24:18 +0000 (12:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2010 20:24:18 +0000 (12:24 -0800)
commit2a40018984c5c9647df1c18489449a3a227d9136
tree060b4f3595eecbdb9d670ed6da4c7892520a40a9
parente2577a065832f2c6d108de2e027891bdb2d78924
sky2: Avoid rtnl_unlock without rtnl_lock

Make sure we always call rtnl_lock before going down the
error path in sky2_resume, which unlocks the rtnl lock.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c