netdev
[Top] [All Lists]

[PATCH] [SCHED] Fix unlock spinlock in error path

To: netdev@xxxxxxxxxxx
Subject: [PATCH] [SCHED] Fix unlock spinlock in error path
From: "Catalin(ux aka Dino) BOIE" <util@xxxxxxxxxxxxxxx>
Date: Mon, 16 May 2005 16:01:07 +0300 (EEST)
Cc: davem@xxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Hello!

In act_api.c::tcf_action_copy_stats, in error path (get_stats
returns < 0), the spinlock taken in gnet_stats_start_copy_compat
or gnet_stats_start_copy is not unlocked.

The attached patch fixes this.

Please, apply.

Thank you very much!

Signed-off-by: Catalin(ux aka Dino) BOIE <catab at umbrella.ro>

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/

Attachment: act_api_missing_unlock.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>