summaryrefslogtreecommitdiff
path: root/scripts/package/gen-diff-patch
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2026-03-07 02:22:37 +0300
committerFelix Fietkau <nbd@nbd.name>2026-03-24 18:49:32 +0300
commitdb134691924fb19535ad6f27e09354c8ad001964 (patch)
tree840983ec324bd7aa08a59a27447e33623615e5ff /scripts/package/gen-diff-patch
parent6ace866cf6d2c5db3bcc8a0d55dcb2d705f2e7f8 (diff)
downloadlinux-db134691924fb19535ad6f27e09354c8ad001964.tar.xz
wifi: mt76: mt7925: publish msta->link after successful link add
Move the msta->link[link_id] publication until after mt7925_mac_link_sta_add() succeeds. msta->link[] is RCU-visible, so publishing it before setup completes can expose a link whose add path later fails. Publish it only after success to avoid partially initialized link state becoming visible. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Link: https://patch.msgid.link/20260306232238.2039675-19-sean.wang@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/package/gen-diff-patch')
0 files changed, 0 insertions, 0 deletions