diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-07-06 19:46:37 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-08-05 10:04:36 +0200 |
| commit | 0121afa52cdb88cfb4d5d7bd126a23a9100121d8 (patch) | |
| tree | fc3a85e4843c3f76c53b32b3cd55ca29e3dc853c /tools/perf/scripts/python | |
| parent | 89f3502ff6878798be96461b2eebd64ba3c3874c (diff) | |
batman-adv: dat: avoid unaligned fault in IP extraction
Independent of the alignment of the ARP packet in the SKB, either the
batadv_arp_ip_src or the batadv_arp_ip_dst will have an unaligned access
(on HW without native unaligned read support).
Use get_unaligned() to handle this properly on all architectures.
Cc: stable@vger.kernel.org
Reported-by: Sashiko <sashiko-bot@kernel.org>
Fixes: 5c3a0e553593 ("batman-adv: Distributed ARP Table - add ARP parsing functions")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
