Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
net
/
netfilter
/
xt_LOG.c
diff --git
a/kernel/net/netfilter/xt_LOG.c
b/kernel/net/netfilter/xt_LOG.c
index
c13b794
..
1763ab8
100644
(file)
--- a/
kernel/net/netfilter/xt_LOG.c
+++ b/
kernel/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;
{
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;
li.type = NF_LOG_TYPE_LOG;
li.u.log.level = loginfo->level;