diff options
author | 2025-03-19 21:25:16 +0000 | |
---|---|---|
committer | 2025-03-25 07:31:24 -0700 | |
commit | b709857ecbf511bb25603790ff9c3f12abe36559 (patch) | |
tree | 110268c875534b5d4826b6919299e41b2f7cdfba /scripts/gdb/linux/utils.py | |
parent | Merge branch 'mlx5-misc-enhancements-2025-03-19' (diff) | |
download | wireguard-linux-b709857ecbf511bb25603790ff9c3f12abe36559.tar.xz wireguard-linux-b709857ecbf511bb25603790ff9c3f12abe36559.zip |
ipv6: fix _DEVADD() and _DEVUPD() macros
ip6_rcv_core() is using:
__IP6_ADD_STATS(net, idev,
IPSTATS_MIB_NOECTPKTS +
(ipv6_get_dsfield(hdr) & INET_ECN_MASK),
max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs));
This is currently evaluating both expressions twice.
Fix _DEVADD() and _DEVUPD() macros to evaluate their arguments once.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250319212516.2385451-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions