diff options
author | Taehee Yoo <ap420073@gmail.com> | 2018-10-06 18:09:32 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-11 12:29:14 +0300 |
commit | 18c0ab87364ac5128a152055fdcb1d27e01caf01 (patch) | |
tree | 0363677faf0fbce8aaeb1b9b8e98749fcc24b316 /net/unix/af_unix.c | |
parent | f24d2d4f9586985509320f90308723d3d0c4e47f (diff) | |
download | linux-18c0ab87364ac5128a152055fdcb1d27e01caf01.tar.xz |
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/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions