]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/netfilter/xt_NFLOG.c
Merge remote-tracking branch 'ipsec/master'
[karo-tx-linux.git] / net / netfilter / xt_NFLOG.c
index fb7497c928a0158675e377fe7b1f3ba4c043a8a9..a1fa2c800cb9122eeaf6cd477ea43ed409379795 100644 (file)
@@ -26,7 +26,7 @@ nflog_tg(struct sk_buff *skb, const struct xt_action_param *par)
 {
        const struct xt_nflog_info *info = par->targinfo;
        struct nf_loginfo li;
-       struct net *net = dev_net(par->in ? par->in : par->out);
+       struct net *net = par->net;
 
        li.type              = NF_LOG_TYPE_ULOG;
        li.u.ulog.copy_len   = info->len;