diff options
author | Phil Sutter <[email protected]> | 2022-01-25 20:06:03 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2022-01-27 00:06:52 +0100 |
commit | aeac4554eb549037ff2f719200c0a9c1c25e7eaa (patch) | |
tree | 7a0bd5b3aeff3f06f98918220609f2e0893010c1 /net/lapb/lapb_timer.c | |
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions