diff options
author | Phil Sutter <phil@nwl.cc> | 2022-01-25 20:06:03 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-01-27 00:06:52 +0100 |
commit | aeac4554eb549037ff2f719200c0a9c1c25e7eaa (patch) | |
tree | 7a0bd5b3aeff3f06f98918220609f2e0893010c1 /Documentation/tools | |
parent | aad51ca71ad83273e8826d6cfdcf53c98748d1fa (diff) |
netfilter: nft_reject_bridge: Fix for missing reply from prerouting
Prior to commit fa538f7cf05aa ("netfilter: nf_reject: add reject skbuff
creation helpers"), nft_reject_bridge did not assign to nskb->dev before
passing nskb on to br_forward(). The shared skbuff creation helpers
introduced in above commit do which seems to confuse br_forward() as
reject statements in prerouting hook won't emit a packet anymore.
Fix this by simply passing NULL instead of 'dev' to the helpers - they
use the pointer for just that assignment, nothing else.
Fixes: fa538f7cf05aa ("netfilter: nf_reject: add reject skbuff creation helpers")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/tools')
0 files changed, 0 insertions, 0 deletions