Commit a0527ee
net: hold netdev instance lock during qdisc ndo_setup_tc
Qdisc operations that can lead to ndo_setup_tc might need
to have an instance lock. Add netdev_lock_ops/netdev_unlock_ops
invocations for all psched_rtnl_msg_handlers operations.
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: Saeed Mahameed <saeed@kernel.org>
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250305163732.2766420-5-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 7c79cff commit a0527ee
1 file changed
+24
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1279 | 1279 | | |
1280 | 1280 | | |
1281 | 1281 | | |
| 1282 | + | |
1282 | 1283 | | |
1283 | 1284 | | |
1284 | 1285 | | |
| 1286 | + | |
1285 | 1287 | | |
1286 | 1288 | | |
1287 | 1289 | | |
| |||
1591 | 1593 | | |
1592 | 1594 | | |
1593 | 1595 | | |
1594 | | - | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
1595 | 1601 | | |
1596 | 1602 | | |
1597 | 1603 | | |
| |||
1828 | 1834 | | |
1829 | 1835 | | |
1830 | 1836 | | |
| 1837 | + | |
1831 | 1838 | | |
| 1839 | + | |
1832 | 1840 | | |
1833 | 1841 | | |
1834 | 1842 | | |
| |||
1919 | 1927 | | |
1920 | 1928 | | |
1921 | 1929 | | |
| 1930 | + | |
1922 | 1931 | | |
1923 | 1932 | | |
1924 | | - | |
| 1933 | + | |
| 1934 | + | |
1925 | 1935 | | |
| 1936 | + | |
1926 | 1937 | | |
1927 | 1938 | | |
1928 | 1939 | | |
1929 | 1940 | | |
1930 | 1941 | | |
1931 | | - | |
| 1942 | + | |
| 1943 | + | |
1932 | 1944 | | |
| 1945 | + | |
| 1946 | + | |
1933 | 1947 | | |
1934 | 1948 | | |
1935 | 1949 | | |
| |||
2308 | 2322 | | |
2309 | 2323 | | |
2310 | 2324 | | |
2311 | | - | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
2312 | 2330 | | |
2313 | 2331 | | |
2314 | 2332 | | |
| |||
2426 | 2444 | | |
2427 | 2445 | | |
2428 | 2446 | | |
| 2447 | + | |
2429 | 2448 | | |
| 2449 | + | |
2430 | 2450 | | |
2431 | 2451 | | |
2432 | 2452 | | |
| |||
0 commit comments