Commit 02d1e1a
netdev: preserve NETIF_F_ALL_FOR_ALL across TSO updates
Directly increment the TSO features incurs a side effect: it will also
directly clear the flags in NETIF_F_ALL_FOR_ALL on the master device,
which can cause issues such as the inability to enable the nocache copy
feature on the bonding driver.
The fix is to include NETIF_F_ALL_FOR_ALL in the update mask, thereby
preventing it from being cleared.
Fixes: b0ce350 ("bonding: allow TSO being set on bonding master")
Signed-off-by: Di Zhu <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 2a71a1a commit 02d1e1a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5323 | 5323 | | |
5324 | 5324 | | |
5325 | 5325 | | |
5326 | | - | |
| 5326 | + | |
| 5327 | + | |
5327 | 5328 | | |
5328 | 5329 | | |
5329 | 5330 | | |
| |||
0 commit comments