summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorDavid S. Miller2017-07-06 15:02:22 +0200
committerDavid S. Miller2017-07-06 15:02:22 +0200
commitc644bd79c0a782045f58d3dffebaf3d3154e32bf (patch)
treef9b6920a31e51428d907b4a056c99186332b9f1d /net/bridge
parentptp: dte: Use LL suffix for 64-bit constants (diff)
parentnetfilter: ebt_nflog: fix unexpected truncated packet (diff)
downloadkernel-qcow2-linux-c644bd79c0a782045f58d3dffebaf3d3154e32bf.tar.gz
kernel-qcow2-linux-c644bd79c0a782045f58d3dffebaf3d3154e32bf.tar.xz
kernel-qcow2-linux-c644bd79c0a782045f58d3dffebaf3d3154e32bf.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
Pablo Neira Ayuso says: ==================== Netfilter fixes for net The following patchset contains two Netfilter fixes for your net tree, they are: 1) Fix memleak from netns release path of conntrack protocol trackers, patch from Liping Zhang. 2) Uninitialized flags field in ebt_log, that results in unpredictable logging format in ebtables, also from Liping. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/netfilter/ebt_nflog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/netfilter/ebt_nflog.c b/net/bridge/netfilter/ebt_nflog.c
index c1dc48686200..da1c2fdc08c8 100644
--- a/net/bridge/netfilter/ebt_nflog.c
+++ b/net/bridge/netfilter/ebt_nflog.c
@@ -30,6 +30,7 @@ ebt_nflog_tg(struct sk_buff *skb, const struct xt_action_param *par)
li.u.ulog.copy_len = info->len;
li.u.ulog.group = info->group;
li.u.ulog.qthreshold = info->threshold;
+ li.u.ulog.flags = 0;
nf_log_packet(net, PF_BRIDGE, xt_hooknum(par), skb, xt_in(par),
xt_out(par), &li, "%s", info->prefix);