diff options
author | Florian Westphal <fw@strlen.de> | 2019-11-03 20:54:28 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-04 20:58:34 +0100 |
commit | b23c0742c2ce7e33ed79d10e451f70fdb5ca85d1 (patch) | |
tree | eeaa498c92df51c2684353329d289d88b3c987db /include/soc | |
parent | 9fedd894b4e1c7ad5e5f711899f6a0a1da01d996 (diff) | |
download | linux-b23c0742c2ce7e33ed79d10e451f70fdb5ca85d1.tar.gz linux-b23c0742c2ce7e33ed79d10e451f70fdb5ca85d1.tar.bz2 linux-b23c0742c2ce7e33ed79d10e451f70fdb5ca85d1.zip |
bridge: ebtables: don't crash when using dnat target in output chains
xt_in() returns NULL in the output hook, skip the pkt_type change for
that case, redirection only makes sense in broute/prerouting hooks.
Reported-by: Tom Yan <tom.ty89@gmail.com>
Cc: Linus Lüssing <linus.luessing@c0d3.blue>
Fixes: cf3cb246e277d ("bridge: ebtables: fix reception of frames DNAT-ed to bridge device/port")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions