Project

General

Profile

Actions

Bug #490

open

use skb_scrub_packet instead of nf_reset_ct

Added by Sven Eckelmann 13 days ago. Updated 13 days ago.

Status:
In Progress
Priority:
Normal
Target version:
-
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_rx instead of nf_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.
  • 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.

Related issues 1 (0 open — 1 closed)

Related to batman-adv - Bug #489: batman-adv preserves RX timestamps when transmitting packets, causing fq horizon dropsClosedbatman-adv developers11/02/2026

Actions
Actions #1

Updated by Sven Eckelmann 13 days ago

  • Related to Bug #489: batman-adv preserves RX timestamps when transmitting packets, causing fq horizon drops added
Actions #3

Updated by Sven Eckelmann 13 days ago

  • Description updated (diff)
Actions

Also available in: Atom PDF