diff options
author | Nikolay Aleksandrov <razor@blackwall.org> | 2024-06-09 12:36:53 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-06-13 03:24:24 +0200 |
commit | 36c92936e868601fa1f43da6758cf55805043509 (patch) | |
tree | acc9e7274eb8968851aeca33c093645fcc5ac13b /include/dt-bindings/pinctrl/nomadik.h | |
parent | net/ipv6: Fix the RT cache flush via sysctl using a previous delay (diff) | |
download | linux-36c92936e868601fa1f43da6758cf55805043509.tar.xz linux-36c92936e868601fa1f43da6758cf55805043509.zip |
net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state
Pass the already obtained vlan group pointer to br_mst_vlan_set_state()
instead of dereferencing it again. Each caller has already correctly
dereferenced it for their context. This change is required for the
following suspicious RCU dereference fix. No functional changes
intended.
Fixes: 3a7c1661ae13 ("net: bridge: mst: fix vlan use-after-free")
Reported-by: syzbot+9bbe2de1bc9d470eb5fe@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=9bbe2de1bc9d470eb5fe
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://lore.kernel.org/r/20240609103654.914987-2-razor@blackwall.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/dt-bindings/pinctrl/nomadik.h')
0 files changed, 0 insertions, 0 deletions