Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
[linux-2.6-microblaze.git] / net / netfilter / nf_nat_tftp.c
index ccabbda..7f67e1d 100644 (file)
@@ -28,8 +28,10 @@ static unsigned int help(struct sk_buff *skb,
                = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port;
        exp->dir = IP_CT_DIR_REPLY;
        exp->expectfn = nf_nat_follow_master;
-       if (nf_ct_expect_related(exp) != 0)
+       if (nf_ct_expect_related(exp) != 0) {
+               nf_ct_helper_log(skb, exp->master, "cannot add expectation");
                return NF_DROP;
+       }
        return NF_ACCEPT;
 }