Florian Westphal
6fc27a2497
bridge: ebtables: don't crash when using dnat target in output chains
...
[ Upstream commit b23c0742c2ce7e33ed79d10e451f70fdb5ca85d1 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 15:36:56 +01:00
..
2018-10-03 17:00:47 -07:00
2019-07-31 07:28:39 +02:00
2019-05-16 19:42:34 +02:00
2019-10-05 12:47:43 +02:00
2019-11-10 11:25:34 +01:00
2019-10-05 12:47:43 +02:00
2019-09-21 07:15:35 +02:00
2019-11-20 18:00:46 +01:00
2019-12-05 15:36:56 +01:00
2019-11-10 11:25:34 +01:00
2019-07-21 09:04:22 +02:00
2019-08-29 08:26:42 +02:00
2019-12-01 09:14:01 +01:00
2018-09-19 22:43:43 +02:00
2019-11-10 11:25:37 +01:00
2018-07-22 14:28:49 +02:00
2019-11-10 11:25:32 +01:00
2019-03-19 13:13:22 +01:00
2019-10-05 12:47:44 +02:00
2019-11-20 18:00:52 +01:00
2019-12-01 09:14:14 +01:00
2019-04-17 08:37:45 +02:00
2019-09-16 08:20:44 +02:00
2019-08-09 17:53:35 +02:00
2019-06-22 08:16:14 +02:00
2019-11-20 17:59:59 +01:00
2019-11-24 08:23:32 +01:00
2018-09-09 19:55:52 +02:00
2019-03-13 14:03:09 -07:00
2019-11-24 08:23:32 +01:00
2019-03-13 14:03:08 -07:00
2019-04-03 06:25:08 +02:00
2019-07-31 07:28:46 +02:00
2019-11-12 19:17:54 +01:00
2018-07-22 14:28:49 +02:00
2019-12-01 09:14:02 +01:00
2019-08-25 10:50:26 +02:00
2019-11-10 11:25:34 +01:00
2019-09-10 10:32:21 +01:00
2019-10-05 12:47:40 +02:00
2019-10-07 18:55:20 +02:00
2019-05-02 09:40:34 +02:00
2019-11-06 12:43:37 +01:00
2019-12-01 09:13:11 +01:00
2019-11-10 11:25:37 +01:00
2019-09-06 10:20:50 +02:00
2018-07-22 14:28:47 +02:00
2019-12-01 09:13:42 +01:00
2019-11-10 11:25:34 +01:00
2018-12-05 19:41:11 +01:00
2019-12-01 09:13:35 +01:00
2019-12-01 09:13:11 +01:00
2019-12-01 09:14:15 +01:00
2019-03-19 13:13:23 +01:00
2019-11-24 08:23:18 +01:00
2019-01-09 17:14:46 +01:00
2019-08-25 10:50:02 +02:00