diff options
author | Taehee Yoo | 2018-10-06 17:09:32 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2018-10-11 11:29:14 +0200 |
commit | 18c0ab87364ac5128a152055fdcb1d27e01caf01 (patch) | |
tree | 0363677faf0fbce8aaeb1b9b8e98749fcc24b316 /net/netfilter/nft_compat.c | |
parent | netfilter: xt_TEE: fix wrong interface selection (diff) | |
download | kernel-qcow2-linux-18c0ab87364ac5128a152055fdcb1d27e01caf01.tar.gz kernel-qcow2-linux-18c0ab87364ac5128a152055fdcb1d27e01caf01.tar.xz kernel-qcow2-linux-18c0ab87364ac5128a152055fdcb1d27e01caf01.zip |
netfilter: xt_TEE: add missing code to get interface index in checkentry.
checkentry(tee_tg_check) should initialize priv->oif from dev if possible.
But only netdevice notifier handler can set that.
Hence priv->oif is always -1 until notifier handler is called.
Fixes: 9e2f6c5d78db ("netfilter: Rework xt_TEE netdevice notifier")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_compat.c')
0 files changed, 0 insertions, 0 deletions