commit | 45efccdbec3cd465c4776ed9ca1d7b1bba1b7e34 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Oct 19 18:02:01 2015 -0700 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Thu Oct 22 12:55:25 2015 +0200 |
tree | c0fd2f7fb693c42f116985aa8c913013e4bae88d | |
parent | 104eb270e665f4fcd8cb8c8ab4c4d4538c604e92 [diff] |
netfilter: xt_TEE: fix NULL dereference iptables -I INPUT ... -j TEE --gateway 10.1.2.3 <crash> 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 <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>