]> git.hungrycats.org Git - linux/commitdiff
[PATCH] namespace pollution in netfilter_ebt_log
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Jan 2003 12:14:04 +0000 (04:14 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 13 Jan 2003 12:14:04 +0000 (04:14 -0800)
From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be called 'log', this makes it static

net/bridge/netfilter/ebt_log.c

index cdd177fb22c74df0425e9c1086231ddc5f217c17..ceb80fd1e29c00fdae7f6c00ce9723cc147d8eac 100644 (file)
@@ -78,7 +78,7 @@ static void ebt_log(const struct sk_buff *skb, const struct net_device *in,
        spin_unlock_bh(&ebt_log_lock);
 }
 
-struct ebt_watcher log =
+static struct ebt_watcher log =
 {
        {NULL, NULL}, EBT_LOG_WATCHER, ebt_log, ebt_log_check, NULL,
        THIS_MODULE