summaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-09-05 20:01:25 +0300
committerDavid S. Miller <davem@davemloft.net>2022-09-07 13:44:04 +0100
commita4bb481aeb9d84cb53112a478e6db4705b794c34 (patch)
tree76345a71558bc55469a3bf04dd39f975c54a8545 /net/unix/unix_bpf.c
parent843794bbdef83955ae5b43dfafc355c3786e2145 (diff)
downloadlinux-a4bb481aeb9d84cb53112a478e6db4705b794c34.tar.bz2
net: dsa: felix: access QSYS_TAG_CONFIG under tas_lock in vsc9959_sched_speed_set
The read-modify-write of QSYS_TAG_CONFIG from vsc9959_sched_speed_set() runs unlocked with respect to the other functions that access it, which are vsc9959_tas_guard_bands_update(), vsc9959_qos_port_tas_set() and vsc9959_tas_clock_adjust(). All the others are under ocelot->tas_lock, so move the vsc9959_sched_speed_set() access under that lock as well, to resolve the concurrency. Fixes: 55a515b1f5a9 ("net: dsa: felix: drop oversized frames with tc-taprio instead of hanging the port") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions