diff options
| author | Jason Wang <[email protected]> | 2024-08-14 13:22:28 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-08-15 19:14:19 -0700 |
| commit | c392d6019398315526b0b508282f87c7b2318c72 (patch) | |
| tree | aafb7ff3ebc1f4a80307447ecc79e1014228c870 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | df28de7b00502761eba62490f413c65c9b175ed9 (diff) | |
virtio-net: synchronize probe with ndo_set_features
We calculate guest offloads during probe without the protection of
rtnl_lock. This lead to race between probe and ndo_set_features. Fix
this by moving the calculation under the rtnl_lock.
Fixes: 3f93522ffab2 ("virtio-net: switch off offloads on demand if possible on XDP set")
Acked-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions