From: Stephen Hemminger <shemminger@vyatta.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: "Štefan Gula" <steweg@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH] bridge: BH already disabled in br_fdb_cleanup()
Date: Mon, 16 Jan 2012 07:53:49 -0800 [thread overview]
Message-ID: <20120116075349.2e9bf1e1@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1326724550.2255.47.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
On Mon, 16 Jan 2012 15:35:50 +0100
Eric Dumazet <eric.dumazet@gmail.com> wrote:
> br_fdb_cleanup() is run from timer interrupt, BH already masked.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> CC: Stephen Hemminger <shemminger@vyatta.com>
> CC: Štefan Gula <steweg@gmail.com>
> ---
> net/bridge/br_fdb.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
> index f963f6b..5ba0c84 100644
> --- a/net/bridge/br_fdb.c
> +++ b/net/bridge/br_fdb.c
> @@ -146,7 +146,7 @@ void br_fdb_cleanup(unsigned long _data)
> unsigned long next_timer = jiffies + br->ageing_time;
> int i;
>
> - spin_lock_bh(&br->hash_lock);
> + spin_lock(&br->hash_lock);
> for (i = 0; i < BR_HASH_SIZE; i++) {
> struct net_bridge_fdb_entry *f;
> struct hlist_node *h, *n;
> @@ -162,7 +162,7 @@ void br_fdb_cleanup(unsigned long _data)
> next_timer = this_timer;
> }
> }
> - spin_unlock_bh(&br->hash_lock);
> + spin_unlock(&br->hash_lock);
>
> mod_timer(&br->gc_timer, round_jiffies_up(next_timer));
> }
>
>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
next prev parent reply other threads:[~2012-01-16 15:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-16 12:13 [patch v1, kernel version 3.2.1] net/ipv4/ip_gre: Ethernet multipoint GRE over IP Štefan Gula
2012-01-16 13:19 ` Eric Dumazet
2012-01-16 13:30 ` David Laight
2012-01-16 13:42 ` Štefan Gula
2012-01-16 14:05 ` Štefan Gula
2012-01-16 14:25 ` Eric Dumazet
2012-01-16 14:35 ` [PATCH] bridge: BH already disabled in br_fdb_cleanup() Eric Dumazet
2012-01-16 15:53 ` Stephen Hemminger [this message]
2012-01-17 15:17 ` David Miller
2012-01-16 14:47 ` [patch v1, kernel version 3.2.1] net/ipv4/ip_gre: Ethernet multipoint GRE over IP Štefan Gula
2012-01-16 15:13 ` Eric Dumazet
2012-01-16 15:20 ` Štefan Gula
2012-01-16 13:35 ` David Lamparter
2012-01-16 16:36 ` Stephen Hemminger
2012-01-16 17:26 ` Štefan Gula
2012-01-16 18:30 ` Stephen Hemminger
2012-01-16 18:38 ` Štefan Gula
2012-01-16 21:22 ` Jesse Gross
2012-01-16 23:40 ` Štefan Gula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120116075349.2e9bf1e1@nehalam.linuxnetplumber.net \
--to=shemminger@vyatta.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=steweg@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).