Commit 2b72c1ec authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] namespace pollution in netfilter_ebt_log

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be called 'log', this makes it static
parent 12668442
...@@ -78,7 +78,7 @@ static void ebt_log(const struct sk_buff *skb, const struct net_device *in, ...@@ -78,7 +78,7 @@ static void ebt_log(const struct sk_buff *skb, const struct net_device *in,
spin_unlock_bh(&ebt_log_lock); 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, {NULL, NULL}, EBT_LOG_WATCHER, ebt_log, ebt_log_check, NULL,
THIS_MODULE THIS_MODULE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment