Commit:     d3a2c3ca8e7d908824701db978b936d115aea506
Parent:     3b5018d6766186474366f26cc87fba81407b9089
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Thu Apr 12 22:16:38 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Apr 25 22:29:01 2007 -0700

    [NETFILTER]: nfnetlink_log: remove fallback to group 0
    Don't fallback to group 0 if no instance can be found for the given group.
    This potentially confuses the listener and is not what the user configured.
    Also remove the ring buffer spamming that happens when rules are set up
    before the logging daemon is started.
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/netfilter/nfnetlink_log.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c
index d2c6aab..e32e30e 100644
--- a/net/netfilter/nfnetlink_log.c
+++ b/net/netfilter/nfnetlink_log.c
@@ -584,12 +584,7 @@ nfulnl_log_packet(unsigned int pf,
        inst = instance_lookup_get(li->;
        if (!inst)
-               inst = instance_lookup_get(0);
-       if (!inst) {
-               PRINTR("nfnetlink_log: trying to log packet, "
-                       "but no instance for group %u\n", li->;
-       }
        plen = 0;
        if (prefix)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to