Actions
Bug #490
openuse skb_scrub_packet instead of nf_reset_ct
Start date:
11/02/2026
Due date:
% Done:
0%
Estimated time:
Description
It seems like a lot more things nowadays needs to be scrubbed away from packets. And the right tool is skb_scrub_packet(skb, false). This needs to be placed at:
batadv_interface_rxinstead ofnf_reset_ct- It does everything
nf_reset_ct()did, and more. The extensions are what matter most: with br_netfilter, if the hard interface is a bridge, the outer frame carries an nf_bridge extension whose physdev information is wrong for the inner frame. A stale secpath or tc extension could also leak through.
- It does everything
batadv_interface_tx- This has to go after
batadv_tt_local_add(..., skb->skb_iif, skb->mark), because the scrub would zero skb_iif, which TT uses to detect wifi clients.
- This has to go after
Updated by Sven Eckelmann 13 days ago
- Related to Bug #489: batman-adv preserves RX timestamps when transmitting packets, causing fq horizon drops added
Updated by Sven Eckelmann 13 days ago
- Description updated (diff)
- Status changed from New to In Progress
Actions