diff options
author | Liping Zhang <zlpnobody@gmail.com> | 2017-06-18 04:51:09 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-29 18:47:02 +0200 |
commit | 91af6ba7ff16bd7e5919aedfe70aad73a3375619 (patch) | |
tree | 43d16e98124710b7b2d62a00da11cddade80eaf2 /arch/s390/kernel/nmi.c | |
parent | netfilter: nf_ct_dccp/sctp: fix memory leak after netns cleanup (diff) | |
download | linux-91af6ba7ff16bd7e5919aedfe70aad73a3375619.tar.xz linux-91af6ba7ff16bd7e5919aedfe70aad73a3375619.zip |
netfilter: ebt_nflog: fix unexpected truncated packet
"struct nf_loginfo li;" is a local variable, so we should set the flags
to 0 explicitly, else, packets maybe truncated unexpectedly when copied
to the userspace.
Fixes: 7643507fe8b5 ("netfilter: xt_NFLOG: nflog-range does not truncate packets")
Cc: Vishwanath Pai <vpai@akamai.com>
Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'arch/s390/kernel/nmi.c')
0 files changed, 0 insertions, 0 deletions