diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-07-09 20:44:24 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-08-05 10:04:36 +0200 |
| commit | 7aedb59b80993c912ab45ce24386a2775150962b (patch) | |
| tree | d925ec8d70f9ddebf2828a3a6ebd6bf703c0444e /tools/perf/scripts/python | |
| parent | e6de568d3eda3e3c01c868fabd7a9535d5ee4a73 (diff) | |
batman-adv: fix TX priority extraction for BATADV_FORW_MCAST
batadv_mcast_forw_mode_by_count() pushs the skb->data for BATADV_FORW_MCAST
forwarding via batadv_mcast_forw_mcsend(). But the
batadv_skb_set_priority() expects the ethernet header directly before
(skb->data + offset). With the moved skb->data, just some random data would
be accessed to get the priority data.
Move the batadv_skb_set_priority() before the decision about the handling
multicast packets and potential header modifications.
Cc: stable@vger.kernel.org
Fixes: 90039133221e ("batman-adv: mcast: implement multicast packet generation")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
