projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-4.4/reservations' of git://git.kernel.dk/linux-block
[firefly-linux-kernel-4.4.55.git]
/
net
/
netfilter
/
xt_LOG.c
diff --git
a/net/netfilter/xt_LOG.c
b/net/netfilter/xt_LOG.c
index c13b79440ede6887588ed10144c7730cb8265b3d..1763ab82bcd75c343aebc53a26a621e434788d47 100644
(file)
--- a/
net/netfilter/xt_LOG.c
+++ b/
net/netfilter/xt_LOG.c
@@
-33,7
+33,7
@@
log_tg(struct sk_buff *skb, const struct xt_action_param *par)
{
const struct xt_log_info *loginfo = 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_LOG;
li.u.log.level = loginfo->level;