Re: [PATCH net] netfilter: xt_TEE: fix NULL dereference

2015-10-20 Thread Pablo Neira Ayuso
On Mon, Oct 19, 2015 at 06:02:01PM -0700, Eric Dumazet wrote: > From: Eric Dumazet > > iptables -I INPUT ... -j TEE --gateway 10.1.2.3 > > because --oif was not specified > > tee_tg_check() sets ->priv pointer to NULL in this case. Applied here, will push it out after the pending pull request

[PATCH net] netfilter: xt_TEE: fix NULL dereference

2015-10-19 Thread Eric Dumazet
From: Eric Dumazet iptables -I INPUT ... -j TEE --gateway 10.1.2.3 because --oif was not specified tee_tg_check() sets ->priv pointer to NULL in this case. Fixes: bbde9fc1824a ("netfilter: factor out packet duplication for IPv4/IPv6") Signed-off-by: Eric Dumazet --- net/netfilter/xt_TEE.c |